]> git.phdru.name Git - dotfiles.git/commitdiff
.fvwm: Add menu `OSMenu`
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 3fb994b7511fa645d2930758d0c2a9171ff5a68e..ff102234b001da750a5d2cd3e33dbc356dfba994 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