diff options
author | fluxgen <fluxgen> | 2002-09-21 13:32:26 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-09-21 13:32:26 (GMT) |
commit | f6bc909096cfb42bbe1dc44d79a344cf9cb6fcf8 (patch) | |
tree | d696098a8ca6233cfcf743e2567475adbadb7d3d | |
parent | 3e0d0de6d9de39981ea0fd624a3d506f20670cb3 (diff) | |
download | fluxbox_lack-f6bc909096cfb42bbe1dc44d79a344cf9cb6fcf8.zip fluxbox_lack-f6bc909096cfb42bbe1dc44d79a344cf9cb6fcf8.tar.bz2 |
update from Han
-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})" |