X-Git-Url: https://git.phdru.name/?p=dotfiles.git;a=blobdiff_plain;f=.fvwm%2Fmain.m4;h=4f15734c95e6927f94c92dd913085c69555db1d6;hp=619baa8bab455e5427d523c7141ea84b123c28d1;hb=6556642ab508581b9d22d340bcd8ddf79403f2bc;hpb=5597d2140aa9f6012b84507211cac4d117a3fbbb diff --git a/.fvwm/main.m4 b/.fvwm/main.m4 index 619baa8..4f15734 100644 --- a/.fvwm/main.m4 +++ b/.fvwm/main.m4 @@ -92,11 +92,11 @@ define(`TERM_KOI8_BOTRT', `TERM_KOI8 -geometry TERM_GEOM_BOTRT') define(`TERM_UTF8_BOTRT', `TERM_UTF8 -geometry TERM_GEOM_BOTRT') -define(`REMOTE_HOST_TERM', -`$1 -e ssh -4 $2') +define(`SSH', `ssh -4') -define(`REMOTE_HOST_TERM_TITLE', -`$1 -title $3 -n $3 -e ssh -4 $2') +define(`REMOTE_HOST_TERM', `$1 -e SSH $2') + +define(`REMOTE_HOST_TERM_TITLE', `$1 -title $3 -n $3 -e SSH $2') define(`REMOTE_HOST_KOI8', REMOTE_HOST_TERM_TITLE(TERM_KOI8, $1, $2)) @@ -135,7 +135,7 @@ define(`REMOTE_HOST_UTF8_BOTRT_MENU', "$2 (utf8,btrt)" REMOTE_HOST_UTF8_BOTRT($1, $2)) define(`REMOTE_HOST_KOI8_BIG', -TERM_KOI8 -geometry TERM_GEOM_BIG -title "$2" -n "$2" -e ssh -4 "$1") +TERM_KOI8 -geometry TERM_GEOM_BIG -title "$2" -n "$2" -e SSH "$1") define(`REMOTE_HOST_KOI8_BIG_MENU', "$2 (koi8)" REMOTE_HOST_KOI8_BIG($1, $2)) @@ -494,27 +494,22 @@ AddToFunc StartStandardSession + I GotoDeskAndPage 1 0 1 + I TERM_KOI8 + I Wait TERM -+ I GotoDeskAndPage 1 1 0 -#+ I TERM_UTF8 -iconic -name term-im-remote -#+ I Wait term-im-remote -+ I TERM_KOI8 -geometry 60x25-5-5 -iconic -name term-im-local -+ I Wait term-im-local + I GotoDeskAndPage 2 0 1 + I TERM_KOI8 -geometry TERM_GEOM_BIG + I Wait TERM + I FireFox -+ I Schedule 4500 GotoDeskAndPage 0 1 0 DestroyFunc ResumeFunction AddToFunc ResumeFunction + I GotoDeskAndPage 0 0 0 + I TERM_KOI8 + I Wait TERM ++ I Exec exec pulseaudio --start + I None ("Volume Control") PaVuControl + I Exec sleep 10; exec "$HOME"/current/projects/audio-cdr-video/audio/pa-mic-off + I XsetbgFilename + I Wait gxmessage -+ I Any ("*Mozilla Firefox") GotoDeskAndPage 0 1 0 ++ I Any ("*Mozilla Firefox") GotoDeskAndPage 0 0 0 + I TestRc (Match) Break + I None ("*Mozilla Firefox") FireFox @@ -591,12 +586,12 @@ AddToFunc PaVuControl I GotoDeskAndPage 0 1 1 changequote([,]) DestroyFunc Id3Info -AddToFunc Id3Info I Exec "$HOME"/lib/audio/mp3/id3info.py "`deadbeef --nowplaying '%F'`" | text-wrap.py | gxmessage -buttons Ok -default Ok -fn 'MESSAGE_FONT' -file - +AddToFunc Id3Info I Exec "$HOME"/lib/audio/mp3/id3info.py "`audtool --current-song-filename`" | text-wrap.py | gxmessage -buttons Ok -default Ok -fn 'MESSAGE_FONT' -file - changequote([`], [']) -DestroyFunc DeadBeef -AddToFunc DeadBeef I GotoDeskAndPage 0 1 1 -+ I Exec exec deadbeef +DestroyFunc AudioPlayer +AddToFunc AudioPlayer I GotoDeskAndPage 0 1 1 ++ I Exec exec audacious DestroyFunc Term-Phdru AddToFunc Term-Phdru I GotoDeskAndPage 1 0 1 @@ -611,9 +606,9 @@ AddToFunc FireFox I Any ("*Mozilla Firefox") Break + I GotoDeskAndPage 1 0 0 + I Exec exec start-browser firefox + I Wait "*Mozilla Firefox" -+ I All ("*Mozilla Firefox") Iconify true -+ I Exec webbrowserX -n file:///home/phd/Internet/WWW/dashboard/index.html ++ I Exec exec firefox --new-window + I Wait "*Mozilla Firefox" ++ I Next ("*Mozilla Firefox") Iconify true DestroyFunc Gajim AddToFunc Gajim I GotoDeskAndPage 1 1 0 @@ -790,7 +785,7 @@ AddToMenu Utilities "Choose one:" Title #+ "xbuffy" Exec exec xbuffy -fn 'XBUFFY_FONT' -geometry +0+125 -boxfile mail/misc/.xbuffyrc #+ "" Nop + "pavucontrol" PaVuControl -+ "DeadBeef" DeadBeef ++ "AudioPlayer" AudioPlayer + "Id3Info" Id3Info + "" Nop + "Gajim" Gajim @@ -910,7 +905,7 @@ popdef(`TERM_KOI8', `TERM_UTF8') *FvwmButtons: (Title Next, Icon Jrecycle.xpm, Action Exec exec "$HOME"/current/projects/xsetbg/xsetbg-http-force) *FvwmButtons: (Title pavucontrol, Icon mini.sound.xpm, Action Exec "Volume Control" exec pavucontrol) #*FvwmButtons: (Title Id3Info, Icon bell.xpm, Action Id3Info) -*FvwmButtons: (Title DeadBeef, Icon bell.xpm, Action Exec "DeaDBeeF-*" exec deadbeef) +*FvwmButtons: (Title AudioPlayer, Icon bell.xpm, Action Exec "Audacious" exec audacious) #*FvwmButtons: (Title XLock, Icon Jxlock.xpm, Action Exec exec xscreensaver-command -lock) ############################################################################