aboutsummaryrefslogtreecommitdiffstats
path: root/.config/herbstluftwm/calc.sh
diff options
context:
space:
mode:
authorshmibs <shmibs@gmail.com>2014-05-22 11:35:42 -0700
committershmibs <shmibs@gmail.com>2014-05-22 11:35:42 -0700
commitf1ca9695d1d00955003af3c44b5aac5fbcce970b (patch)
tree57869bc9f6e9dfc82d9eeac2884e2a04d78485fd /.config/herbstluftwm/calc.sh
parentddff9cf6eb63fea91ef0f157c78effd7a2351f24 (diff)
downloaddotfiles-f1ca9695d1d00955003af3c44b5aac5fbcce970b.tar.gz
clean calc.sh
i accidentally left in a line
Diffstat (limited to '.config/herbstluftwm/calc.sh')
-rwxr-xr-x.config/herbstluftwm/calc.sh2
1 files changed, 0 insertions, 2 deletions
diff --git a/.config/herbstluftwm/calc.sh b/.config/herbstluftwm/calc.sh
index aa041a6..0f7ddfb 100755
--- a/.config/herbstluftwm/calc.sh
+++ b/.config/herbstluftwm/calc.sh
@@ -6,8 +6,6 @@ prompt="calc:"
pi="3.1415926535897932384626433832795028841971694"
e="2.7182818284590452353602874713526624977572471"
while [ "$in" != "" ]; do
- val=0
-
in=$(echo "" | dmenu -q -h 18 -nb $1 -nf $2 -sb $3 -sf $4 -p "$prompt")
out=$(echo "pi=$pi; e=$e; $acc $in" | calc -p 2>&1 | tr -d "\n")