From 1b555daa840f7cd489b36427b1afd742df45f59b Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sat, 2 May 2015 19:46:04 +0300 Subject: [PATCH] .fvwmrc: automatically call Raise-All after Restart --- .fvwm/phd.m4 | 2 +- .fvwm/restart | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.fvwm/phd.m4 b/.fvwm/phd.m4 index e4588c4..6564ac2 100644 --- a/.fvwm/phd.m4 +++ b/.fvwm/phd.m4 @@ -458,7 +458,7 @@ AddToFunc RestartFunction + I Module FvwmButtons + I Module FvwmCommandS + I Module FvwmPager 0 2 -+ I Next [!iconic CurrentScreen xterm] Focus ++ I Schedule 1000 Raise-All DestroyFunc UrgencyFunc AddToFunc UrgencyFunc diff --git a/.fvwm/restart b/.fvwm/restart index c9932a1..4268333 100755 --- a/.fvwm/restart +++ b/.fvwm/restart @@ -12,6 +12,4 @@ if ps a | grep -v grep | grep -q mplayer; then exit 0 fi -FvwmCommand Restart -sleep 3 -FvwmCommand Raise-All +exec FvwmCommand Restart -- 2.39.2