X-Git-Url: https://git.phdru.name/?p=dotfiles.git;a=blobdiff_plain;f=.fvwm%2Fmain.m4;h=bf743f297da0cf5bec74d1b17b958001714c7505;hp=05453d584537e67e6e8d5ad88389f5c60739e86b;hb=95713eee6d120757ac9484d73f0e41afa39850bf;hpb=74af525d68167aa87c05c7083a2561baf4bdc71d diff --git a/.fvwm/main.m4 b/.fvwm/main.m4 index 05453d5..bf743f2 100644 --- a/.fvwm/main.m4 +++ b/.fvwm/main.m4 @@ -503,7 +503,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 +615,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 +845,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"