From ddff9cf6eb63fea91ef0f157c78effd7a2351f24 Mon Sep 17 00:00:00 2001 From: shmibs Date: Thu, 22 May 2014 11:32:52 -0700 Subject: added dmenu calculator also added easy colour grabber --- .config/herbstluftwm/switcher.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.config/herbstluftwm/switcher.sh') diff --git a/.config/herbstluftwm/switcher.sh b/.config/herbstluftwm/switcher.sh index 9bf344c..88ff366 100755 --- a/.config/herbstluftwm/switcher.sh +++ b/.config/herbstluftwm/switcher.sh @@ -1,7 +1,7 @@ #!/bin/bash IFS=$'\r\n' clients=($(wmctrl -l | cut -c -10)) -number=$(wmctrl -l | cut -c 20- | nl -w 2 -s ") " | dmenu -i -h 16 -nb $1 -nf $2 -sb $3 -sf $4 -p "Select:" -l 40 | grep -oE '[0-9]' | head -1) +number=$(wmctrl -l | cut -c 20- | nl -w 2 -s ") " | dmenu -i -h 18 -nb $1 -nf $2 -sb $3 -sf $4 -p "Select:" -l 40 | grep -oE '[0-9]' | head -1) if [ $number ]; then herbstclient jumpto ${clients[$(expr $number - 1)]} fi -- cgit v1.2.3