summaryrefslogtreecommitdiff
path: root/menu.config
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-08-13 13:05:34 +0200
committerAnton Khirnov <anton@khirnov.net>2012-08-19 08:39:04 +0200
commit09e2ffa33f135754dd110983e04eac402d01293a (patch)
treea5973ad23b29df5d2dea955126329d247e70307a /menu.config
parent88fbc9b4a2b68556e3dec33afdc98edd6273cf51 (diff)
Use InfoStore instead of polluting the environment.
Diffstat (limited to 'menu.config')
-rw-r--r--menu.config4
1 files changed, 2 insertions, 2 deletions
diff --git a/menu.config b/menu.config
index da070de..b1788e4 100644
--- a/menu.config
+++ b/menu.config
@@ -24,7 +24,7 @@ AddToMenu menu_RootOps
AddToFunc RootOpsMenuFunc
+ I DestroyMenu recreate menu_RootOps
+ I AddToMenu menu_RootOps "Root menu" Title
-+ I Test (EnvIsSet fvwm_config_lock) + "%xapp_big.png%&1. Lock screen" Exec exec $[fvwm_config_lock]
++ I + "%xapp_big.png%&1. Lock screen" Exec exec $[infostore.lock]
+ I + "%xapp_big.png%&2. $[gt.Restart]" Restart
+ I + "%xapp_big.png%&3. $[gt.Close]" Popup Quit-Verify
@@ -93,4 +93,4 @@ AddToFunc DynamicPagesMenu
+ I AddToMenu menu_WindowSendToPage DynamicPopupAction DynamicPagesMenu
+ I AddToMenu menu_WindowSendToPage
+ I + "$[gt.Send to page]" Title
-+ I Piperead `$[FVWM_USERDIR]/scripts/midclick_menu.sh $[gt.Send to page]`
++ I Piperead `$[FVWM_USERDIR]/scripts/midclick_menu.sh $[infostore.num_pages] $[gt.Send to page]`