X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=.fvwm%2Fphd.m4;h=a5f1bde1e3f1cb2db70314fe52bdeb1bb01a8000;hb=81342609dd90000a4e57471555e298085e2a0d39;hp=6564ac2c5b1b6e7a6d1f00ed98a27c45da72a7a1;hpb=1b555daa840f7cd489b36427b1afd742df45f59b;p=dotfiles.git diff --git a/.fvwm/phd.m4 b/.fvwm/phd.m4 index 6564ac2..a5f1bde 100644 --- a/.fvwm/phd.m4 +++ b/.fvwm/phd.m4 @@ -481,8 +481,7 @@ AddToFunc StartStandardSession + I Wait TERM + I PaVuControl + I Wait "Volume Control" -+ I FireFox -+ I Wait "*Mozilla Firefox" ++ I FireFox-Wait + I GotoDeskAndPage 1 0 1 + I TERM_KOI8 + I Wait TERM @@ -498,6 +497,17 @@ AddToFunc StartStandardSession + I GotoDeskAndPage 1 1 0 + I Schedule 1000 GotoDeskAndPage 0 1 0 +DestroyFunc ResumeFunction +AddToFunc ResumeFunction ++ I GotoDeskAndPage 0 0 0 ++ I TERM_KOI8 ++ I Wait TERM ++ I PaVuControl ++ I Wait "Volume Control" ++ I Exec $HOME/current/projects/xsetbg/print-filename.py | text-wrap.py -w TEXT_WIDTH -s -n | gxmessage -buttons Ok -default Ok -fn 'MESSAGE_FONT' -file - ++ I Wait gxmessage ++ I None ("*Mozilla Firefox") FireFox-Wait ++ I GotoDeskAndPage 0 1 0 ############################################################################ # COMPLEX FUNCTIONS @@ -596,7 +606,11 @@ AddToFunc Term-Phdru-Big I GotoDeskAndPage 1 0 1 DestroyFunc FireFox AddToFunc FireFox I GotoDeskAndPage 1 0 0 -+ I Exec LC_CTYPE=ru_RU.KOI8-R exec start-browser firefox ++ I Exec if ! pgrep firefox >/dev/null; then LC_CTYPE=ru_RU.KOI8-R exec start-browser firefox; fi + +DestroyFunc FireFox-Wait +AddToFunc FireFox-Wait I FireFox ++ I Wait "*Mozilla Firefox" DestroyFunc Gajim AddToFunc Gajim I GotoDeskAndPage 1 1 0