From: Oleg Broytman Date: Thu, 13 Aug 2015 18:37:20 +0000 (+0200) Subject: .fvwmrc: do not run pavucontrol if it's already running X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=cadcb4fc7e185af5b4076fe09fcaca50fa8a51d9;p=dotfiles.git .fvwmrc: do not run pavucontrol if it's already running --- diff --git a/.fvwm/phd.m4 b/.fvwm/phd.m4 index 576ea6f..50bf40d 100644 --- a/.fvwm/phd.m4 +++ b/.fvwm/phd.m4 @@ -503,8 +503,8 @@ AddToFunc ResumeFunction + I GotoDeskAndPage 0 0 0 + I TERM_KOI8 + I Wait TERM -+ I PaVuControl -+ I Wait "Volume Control" ++ I None ("Volume Control") PaVuControl ++ I TestRc (Match) Wait "Volume Control" + 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 Wait gxmessage