]> git.phdru.name Git - dotfiles.git/commitdiff
Refactor(.fvwmrc): Refactor macros for big terminals
authorOleg Broytman <phd@phdru.name>
Thu, 10 Feb 2022 00:29:45 +0000 (03:29 +0300)
committerOleg Broytman <phd@phdru.name>
Thu, 10 Feb 2022 00:29:45 +0000 (03:29 +0300)
.fvwm/main.m4

index 05298ed317a3981a1ad5bbcd2b471cdebb424240..98905037db81cbd9c69286575feeaecba83c476b 100644 (file)
@@ -80,6 +80,8 @@ define(`TERM_KOI8_BOTLT', `TERM_KOI8 -geometry TERM_GEOM_BOTLT')
 define(`TERM_RU_UTF8_BOTLT', `TERM_RU_UTF8 -geometry TERM_GEOM_BOTLT')
 define(`TERM_KOI8_BOTRT', `TERM_KOI8 -geometry TERM_GEOM_BOTRT')
 define(`TERM_RU_UTF8_BOTRT', `TERM_RU_UTF8 -geometry TERM_GEOM_BOTRT')
+define(`TERM_KOI8_BIG', TERM_KOI8 -geometry TERM_GEOM_BIG)
+define(`TERM_UTF8_BIG', TERM_RU_UTF8 -geometry TERM_GEOM_BIG)
 
 
 define(`SSH', `cgmem_nice 300 ssh')
@@ -170,13 +172,13 @@ define(`MENU_TERM_UTF8_BOTRT_SSH_SCREEN',
 "$2 (btrt,utf8,scr)" TERM_UTF8_BOTRT_SSH_SCREEN($1, $2))
 
 define(`TERM_KOI8_BIG_SSH',
-TERM_KOI8 -geometry TERM_GEOM_BIG -title "$2" -n "$2" -e SSH "$1")
+TERM_KOI8_BIG -title "$2" -n "$2" -e SSH "$1")
 
 define(`MENU_TERM_KOI8_BIG_SSH',
 "$2 (koi8)" TERM_KOI8_BIG_SSH($1, $2))
 
 define(`TERM_KOI8_BIG_SSH_SCREEN',
-TERM_KOI8 -geometry TERM_GEOM_BIG -title "$2" -n "$2" -e SSH_SCREEN_KOI8 "$1")
+TERM_KOI8_BIG -title "$2" -n "$2" -e SSH_SCREEN_KOI8 "$1")
 
 define(`MENU_TERM_KOI8_BIG_SSH_SCREEN',
 "$2 (koi8,scr)" TERM_KOI8_BIG_SSH_SCREEN($1, $2))
@@ -530,7 +532,7 @@ AddToFunc StartStandardSession
 +              I XsetbgFilename
 +              I Wait gxmessage
 +              I GotoDeskAndPage 2 0 1
-+              I TERM_KOI8 -geometry TERM_GEOM_BIG
++              I TERM_KOI8_BIG
 +              I Wait TERM
 +              I FireFox
 +              I GotoDeskAndPage 0 1 1
@@ -737,8 +739,8 @@ AddToMenu Terminals     "Terminals" Title
 +               "Grey term (btrt,koi8)" TERM_KOI8_BOTRT
 +               "Grey term (btlt,utf8)" TERM_RU_UTF8_BOTLT
 +               "Grey term (btrt,utf8)" TERM_RU_UTF8_BOTRT
-+               "Big grey term (koi8)" TERM_KOI8 -geometry TERM_GEOM_BIG
-+               "Big grey term (utf8)" TERM_RU_UTF8 -geometry TERM_GEOM_BIG
++               "Big grey term (koi8)" TERM_KOI8_BIG
++               "Big grey term (utf8)" TERM_UTF8_BIG
 +                       ""      Nop
 +               "White/black term (koi8)" TERM_KOI8 -fg white -cr white -bg black
 +               "White/black term (utf8)" TERM_RU_UTF8 -fg white -bg black