From bb5e979654c528dcc4cb8a64ee4f9b7bdfd9939d Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Thu, 10 Feb 2022 17:39:00 +0300 Subject: [PATCH] .fvwmrc: Pass `$TZ` from the local host --- .fvwm/main.m4 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.fvwm/main.m4 b/.fvwm/main.m4 index 1095e14..0575243 100644 --- a/.fvwm/main.m4 +++ b/.fvwm/main.m4 @@ -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)') -- 2.39.5