summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xutil/fluxbox-generate_menu5
1 files changed, 5 insertions, 0 deletions
diff --git a/util/fluxbox-generate_menu b/util/fluxbox-generate_menu
index 72eb27a..20df908 100755
--- a/util/fluxbox-generate_menu
+++ b/util/fluxbox-generate_menu
@@ -443,6 +443,11 @@ append_submenu ${FBSETTINGSMENU}
443 443
444 find_it fluxconf append "[exec] (Fluxconf) {fluxconf}" 444 find_it fluxconf append "[exec] (Fluxconf) {fluxconf}"
445 445
446 # if gxmessage exitst use it; else use xmessage
447 find_it gxmessage append "[exec] (Windowname) {xprop|grep WM_CLASS|cut -d \\\" -f 2|gxmessage -file - -center}"
448 [ $? -ne 0 ] && \
449 find_it xmessage append "[exec] (Windowname) {xprop|grep WM_CLASS|cut -d \\\" -f 2|xmessage -file - -center}"
450
446append_menu_end 451append_menu_end
447 452
448 append "[restart] (${RESTARTITEM})" 453 append "[restart] (${RESTARTITEM})"