]> git.phdru.name Git - dotfiles.git/commitdiff
.fvwm: Open SOCKS5 proxy from a different command
authorOleg Broytman <phd@phdru.name>
Sat, 22 May 2021 01:56:50 +0000 (04:56 +0300)
committerOleg Broytman <phd@phdru.name>
Sat, 22 May 2021 01:56:50 +0000 (04:56 +0300)
.fvwm/main.m4

index 9a5d996dfb5cc59039b51083139c8adfb25e5b2e..4ccad43ece11139586970ba26f18fccfb904e98f 100644 (file)
@@ -626,7 +626,8 @@ AddToFunc Term3Hosts          I Term-Iskra
 +                             I Wait TERM
 +                             I Term-Oper
 +                             I Wait TERM
-+                             I Term-Phdru
++                             I GotoDeskAndPage 1 0 1
++                             I REMOTE_HOST_KOI8(REMOTE_SCREEN_KOI8(-D 1080 phdru.name), phdru.name)
 +                             I Wait TERM
 
 DestroyFunc FireFox
@@ -929,7 +930,7 @@ pushdef(`TERM_KOI8', `Exec "TERM" LC_CTYPE=ru_RU.KOI8-R exec TERM')
 pushdef(`TERM_RU_UTF8', `Exec "URxvt" LC_CTYPE=ru_RU.UTF-8 exec TERM -name URxvt')
 *FvwmButtons: (Title Term,     Icon rterm2.xpm,      Action TERM_KOI8)
 *FvwmButtons: (Title UTF-8,    Icon rterm2.xpm,      Action TERM_RU_UTF8)
-*FvwmButtons: (Title phdru,    Icon xterm-sgi.xpm,   Action REMOTE_HOST_KOI8(REMOTE_SCREEN_KOI8(-D 1080 phdru.name), phdru.name))
+*FvwmButtons: (Title phdru,    Icon xterm-sgi.xpm,   Action REMOTE_HOST_KOI8(REMOTE_SCREEN_KOI8(phdru.name), phdru.name))
 *FvwmButtons: (Title iskra,    Icon xterm-sgi.xpm,   Action REMOTE_HOST_KOI8(REMOTE_SCREEN_KOI8(iskra-aviel.phdru.name), iskra))
 *FvwmButtons: (Title oper,     Icon xterm-linux.xpm, Action REMOTE_HOST_KOI8_BOTRT(REMOTE_SCREEN_KOI8(oper.med.ru), oper))
 popdef(`TERM_KOI8', `TERM_RU_UTF8')