diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2019-02-02 15:24:55 -0500 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2019-02-02 15:24:55 -0500 |
| commit | 21a7e014c35fe627e04f74ac410c9353bb8aa831 (patch) | |
| tree | 9659165a1683ccc00d103b9cef5554e3d20dca7b /.scripts | |
| parent | a7508c231c24afdb12994eaba2bc05f7fc36ec4d (diff) | |
| download | eibhear-21a7e014c35fe627e04f74ac410c9353bb8aa831.tar.gz eibhear-21a7e014c35fe627e04f74ac410c9353bb8aa831.tar.zst eibhear-21a7e014c35fe627e04f74ac410c9353bb8aa831.zip | |
bc for dropdown calc
Diffstat (limited to '.scripts')
| -rwxr-xr-x | .scripts/i3cmds/dropdowncalc | 5 |
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 |
