From cadcb4fc7e185af5b4076fe09fcaca50fa8a51d9 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Thu, 13 Aug 2015 20:37:20 +0200 Subject: [PATCH] .fvwmrc: do not run pavucontrol if it's already running --- .fvwm/phd.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.2