.fvwm: Add menu `OSMenu` master
authorOleg Broytman <phd@phdru.name>
Sun, 20 Sep 2020 23:16:15 +0000 (02:16 +0300)
committerOleg Broytman <phd@phdru.name>
Sun, 20 Sep 2020 23:16:15 +0000 (02:16 +0300)
Add user mode suspend commands.

.fvwm/main.m4

index 3fb994b..ff10223 100644 (file)
@@ -800,9 +800,16 @@ AddToMenu RootMenu "Root Menu"  Title
 +               "XSetBg"        Popup XSetBgMenu
 +               "Fvwm Commands" Popup FvwmCommands
 
+DestroyMenu OSMenu
+AddToMenu OSMenu        "OS commands:" Title
++                       "Suspend to ram"  Exec exec s2r
++                       "Suspend to disk" Exec exec s2d
++                       "Suspend to both" Exec exec s2b
+
 # This menu will fire up some often used programs
-DestroyMenu  Utilities
+DestroyMenu Utilities
 AddToMenu Utilities     "Choose one:" Title
++                       "OS"     Popup OSMenu
 +                       "Evince" Exec LC_CTYPE=ru_RU.KOI8-R exec evince
 +                       "FBReader" Exec LC_CTYPE=ru_RU.KOI8-R exec fbreader
 +                       ""       Nop