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