Menu windows are recalculated with -w
[xmenu] / xmenu.sh
index c78f93c..ff145d4 100755 (executable)
--- a/xmenu.sh
+++ b/xmenu.sh
@@ -1,6 +1,9 @@
 #!/bin/sh
 
 #!/bin/sh
 
-cat <<EOF | xmenu | xargs sh -c &
+# ignore hup signal
+trap "" 1 15
+
+cat <<EOF | xmenu | sh &
 Applications
        Web Browser     firefox
        Image editor    gimp
 Applications
        Web Browser     firefox
        Image editor    gimp