From b30acd13148b4b5174331580678bb5b0ce26e027 Mon Sep 17 00:00:00 2001 From: shmibs Date: Thu, 3 Jul 2014 11:26:07 -0700 Subject: complete theme revamp switched to bar, changed term colours, and added a config_vars file to make sourcing theme colours / fonts / etc easier --- .config/herbstluftwm/switcher.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to '.config/herbstluftwm/switcher.sh') diff --git a/.config/herbstluftwm/switcher.sh b/.config/herbstluftwm/switcher.sh index 4d570c2..a19fe6e 100755 --- a/.config/herbstluftwm/switcher.sh +++ b/.config/herbstluftwm/switcher.sh @@ -1,7 +1,12 @@ #!/bin/zsh +source ~/.config/herbstluftwm/config_vars + IFS=$'\r\n' clients=($(wmctrl -l | cut -c -10)) -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) +number=$(wmctrl -l | cut -c 20- | nl -w 2 -s ") " | \ + dmenu -fn $efont -i -h $bheight -nb $bg_normal -nf $fg_normal \ + -sb $bg_focus -sf $fg_focus -p "Select:" -l 40 | \ + grep -oE '[0-9]' | head -1) if [ $number ]; then herbstclient jumpto ${clients[$(expr $number - 1)]} fi -- cgit v1.2.3