From: Oleg Broytman Date: Sun, 28 Jun 2015 12:09:30 +0000 (+0300) Subject: .fvwmrc: do not add pause if Firefox is already running X-Git-Url: https://git.phdru.name/?p=dotfiles.git;a=commitdiff_plain;h=08844797b4fb21f1a6c41d237ef4b45f467856e8;hp=956225f90ae9160de3b4f87041dc7979364114ba .fvwmrc: do not add pause if Firefox is already running --- diff --git a/.fvwm/phd.m4 b/.fvwm/phd.m4 index e482a70..5e969bb 100644 --- a/.fvwm/phd.m4 +++ b/.fvwm/phd.m4 @@ -508,6 +508,8 @@ AddToFunc ResumeFunction + 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 ++ I Any ("*Mozilla Firefox") GotoDeskAndPage 0 1 0 ++ I TestRc (Match) Break + I None ("*Mozilla Firefox") FireFox + I Schedule 2500 GotoDeskAndPage 0 1 0