aboutsummaryrefslogtreecommitdiffstats
path: root/.config/herbstluftwm/calc.sh
diff options
context:
space:
mode:
authorshmibs <shmibs@gmail.com>2014-07-03 11:26:07 -0700
committershmibs <shmibs@gmail.com>2014-07-03 11:26:07 -0700
commitb30acd13148b4b5174331580678bb5b0ce26e027 (patch)
tree8d5b0763fa2dba300b86548e7c843f99f89090d3 /.config/herbstluftwm/calc.sh
parent5868104f033ebf2ffceb7458baeaa748574ce310 (diff)
downloaddotfiles-b30acd13148b4b5174331580678bb5b0ce26e027.tar.gz
complete theme revamp
switched to bar, changed term colours, and added a config_vars file to make sourcing theme colours / fonts / etc easier
Diffstat (limited to '.config/herbstluftwm/calc.sh')
-rwxr-xr-x.config/herbstluftwm/calc.sh6
1 files changed, 5 insertions, 1 deletions
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