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/calc.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to '.config/herbstluftwm/calc.sh') diff --git a/.config/herbstluftwm/calc.sh b/.config/herbstluftwm/calc.sh index 142065e..88d31df 100755 --- a/.config/herbstluftwm/calc.sh +++ b/.config/herbstluftwm/calc.sh @@ -1,5 +1,7 @@ #!/bin/bash +source ~/.config/herbstluftwm/config_vars + acc=0 in="first" prompt="calc:" @@ -25,7 +27,9 @@ command_check() { } while [ "$in" != "" ]; do - in=$(echo "" | dmenu -q -h 18 -nb $1 -nf $2 -sb $3 -sf $4 -p "$prompt") + in=$(echo "" | dmenu -fn $efont -q -h $bheight \ + -nb $bg_normal -nf $fg_normal \ + -sb $bg_focus -sf $fg_focus -p "$prompt") if [[ $(command_check "$in" "$acc") -eq 1 ]]; then break fi -- cgit v1.2.3