summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rwxr-xr-xutil/fluxbox-generate_menu6
1 files changed, 4 insertions, 2 deletions
diff --git a/util/fluxbox-generate_menu b/util/fluxbox-generate_menu
index 40b4aa3..2e7ce88 100755
--- a/util/fluxbox-generate_menu
+++ b/util/fluxbox-generate_menu
@@ -22,7 +22,7 @@
22# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23# DEALINGS IN THE SOFTWARE. 23# DEALINGS IN THE SOFTWARE.
24# 24#
25# $Id: fluxbox-generate_menu,v 1.39 2003/07/03 13:05:38 fluxgen Exp $ 25# $Id: fluxbox-generate_menu,v 1.40 2003/07/17 23:39:34 rathnor Exp $
26 26
27# 27#
28# Portability notes: 28# Portability notes:
@@ -100,7 +100,7 @@ EOF
100} 100}
101 101
102# ugly code for solaris compat. 102# ugly code for solaris compat.
103case $(uname) in 103case `uname` in
104 Linux|*BSD) 104 Linux|*BSD)
105 find_it() { 105 find_it() {
106 which $1 > /dev/null 2>&1 && shift && $* 106 which $1 > /dev/null 2>&1 && shift && $*
@@ -931,6 +931,8 @@ append_submenu "${FBSETTINGSMENU}"
931 "[exec] (Windowname) {xprop WM_CLASS|cut -d \\\" -f 2|xmessage -file - -center}" 931 "[exec] (Windowname) {xprop WM_CLASS|cut -d \\\" -f 2|xmessage -file - -center}"
932 find_it import append "[exec] (screenshot) {import screenshot.png && qiv -W 50 screenshot.png}" 932 find_it import append "[exec] (screenshot) {import screenshot.png && qiv -W 50 screenshot.png}"
933 find_it fbrun append "[exec] (Run) {fbrun}" 933 find_it fbrun append "[exec] (Run) {fbrun}"
934 find_it switch append "[exec] (gtk-theme-switch) {switch}"
935 find_it switch2 append "[exec] (gtk2-theme-switch) {switch2}"
934 find_it fluxbox-generate_menu append "[exec] (regenerate menu) {fluxbox-generate_menu}" 936 find_it fluxbox-generate_menu append "[exec] (regenerate menu) {fluxbox-generate_menu}"
935 append_menu_end 937 append_menu_end
936 938