diff options
Diffstat (limited to 'util')
-rwxr-xr-x | util/fluxbox-generate_menu | 5 |
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 | |||
446 | append_menu_end | 451 | append_menu_end |
447 | 452 | ||
448 | append "[restart] (${RESTARTITEM})" | 453 | append "[restart] (${RESTARTITEM})" |