scripts

various script and utils
git clone git://z3bra.org/scripts
Log | Files | Refs

commit 6788c9a78fec0a66a9d40489cc1231a70880264b
parent 2619b1941d1a1f2dd473982732023d1af9836c56
Author: z3bra <willy@mailoo.org>
Date:   Fri Nov 21 18:51:36 +0100

simpler menu

Diffstat:
menu | 17+++--------------
1 file changed, 3 insertions(+), 14 deletions(-)
diff --git a/menu b/menu @@ -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