]> git.phdru.name Git - dotfiles.git/commitdiff
.fvwmrc: do not run pavucontrol if it's already running
authorOleg Broytman <phd@phdru.name>
Thu, 13 Aug 2015 18:37:20 +0000 (20:37 +0200)
committerOleg Broytman <phd@phdru.name>
Thu, 13 Aug 2015 18:37:20 +0000 (20:37 +0200)
.fvwm/phd.m4

index 576ea6faf82975fbe5a964d1d41f9b4992e03a58..50bf40d20c70cde1b27795ccf97ab50e2f293f26 100644 (file)
@@ -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