Dotfiles/bin/.bin/calc
2019-07-30 14:06:10 +01:00

5 lines
184 B
Bash
Executable file

#!/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