summaryrefslogtreecommitdiffstats
path: root/.scripts/i3cmds/dropdowncalc
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2019-02-02 15:24:55 -0500
committerLuke Smith <luke@lukesmith.xyz>2019-02-02 15:24:55 -0500
commit21a7e014c35fe627e04f74ac410c9353bb8aa831 (patch)
tree9659165a1683ccc00d103b9cef5554e3d20dca7b /.scripts/i3cmds/dropdowncalc
parenta7508c231c24afdb12994eaba2bc05f7fc36ec4d (diff)
downloadeibhear-21a7e014c35fe627e04f74ac410c9353bb8aa831.tar.gz
eibhear-21a7e014c35fe627e04f74ac410c9353bb8aa831.tar.zst
eibhear-21a7e014c35fe627e04f74ac410c9353bb8aa831.zip
bc for dropdown calc
Diffstat (limited to '.scripts/i3cmds/dropdowncalc')
-rwxr-xr-x.scripts/i3cmds/dropdowncalc5
1 files changed, 1 insertions, 4 deletions
diff --git a/.scripts/i3cmds/dropdowncalc b/.scripts/i3cmds/dropdowncalc
index fee8f07..4d41f88 100755
--- a/.scripts/i3cmds/dropdowncalc
+++ b/.scripts/i3cmds/dropdowncalc
@@ -1,5 +1,2 @@
#!/bin/sh
-# This script ensures that i3 will spawn a calculator.
-# If R is installed, it will run R, otherwise it will run
-# Python.
-([ -e /usr/bin/R ] && R -q --no-save) || python -q
+ifinstalled bc && echo "Welcome to the Calculator." && bc -lq