tMenu pops near the mouse cursor - scripts - various script and utils
 (HTM) git clone git://z3bra.org/scripts
 (DIR) Log
 (DIR) Files
 (DIR) Refs
       ---
 (DIR) commit 544edd27e2b74149e305d47670f4978b7c9a37c6
 (DIR) parent 7042c20a1b683e3ec4674aa52fbb0771d20087f0
 (HTM) Author: z3bra <willy@mailoo.org>
       Date:   Wed, 23 Apr 2014 18:05:11 +0200
       
       Menu pops near the mouse cursor
       
       Diffstat:
         M menu                                |       6 +++---
       
       1 file changed, 3 insertions(+), 3 deletions(-)
       ---
 (DIR) diff --git a/menu b/menu
       t@@ -9,11 +9,11 @@ if which xdpyinfo >/dev/null; then
        fi
        
        X=`expr ${w} - 120 - 10`
       -Y=`expr ${h} - 240 - 10`
       +Y=`expr ${h} - 120 - 20`
        
       -thingmenu -x -s -g 120x120+${X}+${Y} \
       +thingmenu -g 120x120 \
            "pop a terminal"    "urxvt" \
       -    "browse the web"    "surf || dwb" \
       +    "browse the web"    "dwb" \
            "view a pdf"        "mupdf || zathura" \
            "play a game"       "steam" \
            "restart 2bwm"      "pkill 2bwm; 2bwm" 2> /dev/null