X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=.fvwm%2Fmain.m4;h=839333dd805e671c4546596eb58d86b34de849c6;hb=30ada53d7c4d98da4795362b94c40ff8e963e84e;hp=05453d584537e67e6e8d5ad88389f5c60739e86b;hpb=e4865b6c064fa4ad2e1a57f7e8c247883a9aee24;p=dotfiles.git diff --git a/.fvwm/main.m4 b/.fvwm/main.m4 index 05453d5..839333d 100644 --- a/.fvwm/main.m4 +++ b/.fvwm/main.m4 @@ -482,6 +482,8 @@ AddToFunc StartStandardSession + I Wait TERM + I PaVuControl + I Exec exec "$HOME"/current/projects/audio-cdr-video/audio/pa-mic-off ++ I XsetbgFilename ++ I Wait gxmessage + I GotoDeskAndPage 1 0 1 + I TERM_KOI8 + I Wait TERM @@ -503,7 +505,7 @@ AddToFunc ResumeFunction + I Wait TERM + I None ("Volume Control") PaVuControl + I Exec sleep 10; exec "$HOME"/current/projects/audio-cdr-video/audio/pa-mic-off -+ 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 XsetbgFilename + I Wait gxmessage + I Any ("*Mozilla Firefox") GotoDeskAndPage 0 1 0 + I TestRc (Match) Break @@ -615,6 +617,9 @@ DestroyFunc Pidgin AddToFunc Pidgin I GotoDeskAndPage 1 1 0 + I Exec exec pidgin +DestroyFunc XFilename +AddToFunc XSetbgFilename 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 - + ############################################################################## # MENU Setup # @@ -842,7 +847,7 @@ changequote([,]) + "Open in browser" Exec exec webbrowserX -n "`$HOME/current/projects/xsetbg/print-filename.py -e koi8-r`" + "Filename" Exec exec "$HOME"/current/projects/xsetbg/print-filename.py -e koi8-r + "XFilename" Exec "$HOME"/current/projects/xsetbg/print-filename.py | text-wrap.py -n | gxmessage -buttons Ok -default Ok -fn 'MESSAGE_FONT' -file - -+ "XFilename (wrapped)" 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 - ++ "XFilename (wrapped)" XSetbgFilename + "" Nop + "Xli (prev.)" Exec fn="`$HOME/current/projects/xsetbg/print-filename.py -e koi8-r 1`" && exec xli -title "`echo $fn | sed 's/ /_/g'`" "$fn" + "Xli (prev., scaled)" Exec fn="`$HOME/current/projects/xsetbg/print-filename.py -e koi8-r 1`" && exec xli -title "`echo $fn | sed 's/ /_/g'`" -zoom auto "$fn"