]> git.phdru.name Git - dotfiles.git/commitdiff
.fvwmrc: automatically call Raise-All after Restart
authorOleg Broytman <phd@phdru.name>
Sat, 2 May 2015 16:46:04 +0000 (19:46 +0300)
committerOleg Broytman <phd@phdru.name>
Sat, 2 May 2015 16:50:32 +0000 (19:50 +0300)
.fvwm/phd.m4
.fvwm/restart

index e4588c4f47f9695c2cdbe8425ceb9f2efe796349..6564ac2c5b1b6e7a6d1f00ed98a27c45da72a7a1 100644 (file)
@@ -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
index c9932a159538031808771b9ce8c4d10298f97850..4268333df2c0a1f8823ac4f2105296c01d279905 100755 (executable)
@@ -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