From e4537f0db48d47c39da99702cc4f1e28b98866e5 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Mon, 17 Nov 2014 18:51:18 +0300 Subject: [PATCH] .fvwm: add bottom-left terminal's geometry --- .fvwm/phd.m4 | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.fvwm/phd.m4 b/.fvwm/phd.m4 index f179b7c..2d4e7ab 100644 --- a/.fvwm/phd.m4 +++ b/.fvwm/phd.m4 @@ -89,6 +89,7 @@ define(`TERM_GEOM', )')'dnl ) +define(`TERM_GEOM_BOTLT', `TERM_GEOM+0-0')'dnl define(`TERM_GEOM_BOTRT', `TERM_GEOM-0-0')'dnl define(`TERM_GEOM_BIG', @@ -101,6 +102,8 @@ define(`TERM_GEOM_BIG', define(`TERM', `urxvt') define(`TERM_KOI8', `Exec LC_CTYPE=ru_RU.KOI8-R exec TERM') define(`TERM_UTF8', `Exec exec "$HOME"/lib/X11/utf8rxvt') +define(`TERM_KOI8_BOTLT', `Exec LC_CTYPE=ru_RU.KOI8-R exec TERM -geometry TERM_GEOM_BOTLT') +define(`TERM_UTF8_BOTLT', `Exec exec "$HOME"/lib/X11/utf8rxvt -geometry TERM_GEOM_BOTLT') define(`TERM_KOI8_BOTRT', `Exec LC_CTYPE=ru_RU.KOI8-R exec TERM -geometry TERM_GEOM_BOTRT') define(`TERM_UTF8_BOTRT', `Exec exec "$HOME"/lib/X11/utf8rxvt -geometry TERM_GEOM_BOTRT') @@ -113,10 +116,18 @@ define(`REMOTE_HOST_KOI8_MENU', "$2 (koi8)" REMOTE_HOST_KOI8($1, $2)dnl ) +define(`REMOTE_HOST_KOI8_BOTLT', +TERM_KOI8_BOTLT -title "$2" -n "$2" -e ssh -4 "$1"dnl +) + define(`REMOTE_HOST_KOI8_BOTRT', TERM_KOI8_BOTRT -title "$2" -n "$2" -e ssh -4 "$1"dnl ) +define(`REMOTE_HOST_KOI8_BOTLT_MENU', +"$2 (koi8,btlt)" REMOTE_HOST_KOI8_BOTLT($1, $2)dnl +) + define(`REMOTE_HOST_KOI8_BOTRT_MENU', "$2 (koi8,btrt)" REMOTE_HOST_KOI8_BOTRT($1, $2)dnl ) @@ -129,10 +140,18 @@ define(`REMOTE_HOST_UTF8_MENU', "$2 (utf8)" REMOTE_HOST_UTF8($1, $2)dnl ) +define(`REMOTE_HOST_UTF8_BOTLT', +TERM_UTF8_BOTLT -e ssh -4 "$1"dnl +) + define(`REMOTE_HOST_UTF8_BOTRT', TERM_UTF8_BOTRT -e ssh -4 "$1"dnl ) +define(`REMOTE_HOST_UTF8_BOTLT_MENU', +"$2 (utf8,btlt)" REMOTE_HOST_UTF8_BOTLT($1, $2)dnl +) + define(`REMOTE_HOST_UTF8_BOTRT_MENU', "$2 (utf8,btrt)" REMOTE_HOST_UTF8_BOTRT($1, $2)dnl ) -- 2.39.5