tsimpler menu - scripts - various script and utils
 (HTM) git clone git://z3bra.org/scripts
 (DIR) Log
 (DIR) Files
 (DIR) Refs
       ---
 (DIR) commit 6788c9a78fec0a66a9d40489cc1231a70880264b
 (DIR) parent 2619b1941d1a1f2dd473982732023d1af9836c56
 (HTM) Author: z3bra <willy@mailoo.org>
       Date:   Fri, 21 Nov 2014 18:51:36 +0100
       
       simpler menu
       
       Diffstat:
         M menu                                |      17 +++--------------
       
       1 file changed, 3 insertions(+), 14 deletions(-)
       ---
 (DIR) diff --git a/menu b/menu
       t@@ -1,18 +1,7 @@
       -#!/bin/sh
       -X=1790
       -Y=820
       -
       -if which xdpyinfo >/dev/null; then
       -    dimensions=`xdpyinfo -ext XINERAMA | grep 'head #0' | sed 's/^  head #//p'`
       -
       -    IFS=' :x@,' read i w h x y <<< "$dimensions"
       -fi
       -
       -X=`expr ${w} - 120 - 10`
       -Y=`expr ${h} - 120 - 20`
       -
       +#!/bin/bash
        thingmenu -g 120x120 \
            "play a game"       "steam" \
            "pop a term"        "urxvt" \
            "surf the web"      "dwb" \
       -    "restart 2bwm"      "pkill 2bwm; 2bwm" 2> /dev/null
       +    "restart 2bwm"      "pkill 2bwm; pkill swm; 2bwm" \
       +    "restart swm"       "pkill 2bwm; pkill swm; swm" 2> /dev/null