]> git.phdru.name Git - dotfiles.git/commitdiff
.fvwmrc: Pass `$TZ` from the local host
authorOleg Broytman <phd@phdru.name>
Thu, 10 Feb 2022 14:39:00 +0000 (17:39 +0300)
committerOleg Broytman <phd@phdru.name>
Thu, 10 Feb 2022 14:39:00 +0000 (17:39 +0300)
.fvwm/main.m4

index 1095e1495865ccf21b80f0757b83201aed682c5e..05752438c6166e3a77934dc96c4a95d98dfadc4b 100644 (file)
@@ -93,8 +93,10 @@ define(`TERM_TITLE_SSH', `$1 -title "$3" -n "$3" -e SSH $2')
 define(`TERM_KOI8_SSH',
 TERM_TITLE_SSH(TERM_KOI8, $1, $2))
 
-define(`SSH_SCREEN_KOI8', `-t $1 exec /usr/bin/screen -xRR -S default-koi8')
-define(`SSH_SCREEN_UTF8', `-t $1 exec /usr/bin/screen -xRR -S default-utf8')
+define(`SSH_SCREEN_KOI8',
+`-t $1 TZ="$(cat /etc/timezone)" exec /usr/bin/screen -xRR -S default-koi8')
+define(`SSH_SCREEN_UTF8',
+`-t $1 TZ="$(cat /etc/timezone)" exec /usr/bin/screen -xRR -S default-utf8')
 
 define(`TERM_TITLE_SSH_SCREEN_KOI8',
 `$1 -title "$3 scr" -n "$3 scr" -e SSH SSH_SCREEN_KOI8($2)')