bc for dropdown calc

This commit is contained in:
Luke Smith 2019-02-02 15:24:55 -05:00
parent a7508c231c
commit 21a7e014c3

View file

@ -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