add lastitem and adapt code to general code style
[xmenu] / xmenu.sh
index ff145d4..c832bb7 100755 (executable)
--- a/xmenu.sh
+++ b/xmenu.sh
@@ -1,12 +1,9 @@
 #!/bin/sh
 
 #!/bin/sh
 
-# ignore hup signal
-trap "" 1 15
-
 cat <<EOF | xmenu | sh &
 Applications
 cat <<EOF | xmenu | sh &
 Applications
-       Web Browser     firefox
-       Image editor    gimp
+       IMG:./icons/web.png     Web Browser     firefox
+       IMG:./icons/gimp.png    Image editor    gimp
 Terminal (xterm)       xterm
 Terminal (urxvt)       urxvt
 Terminal (st)          st
 Terminal (xterm)       xterm
 Terminal (urxvt)       urxvt
 Terminal (st)          st