voidrice/.scripts/i3cmds/dropdowncalc
2018-11-05 17:51:24 -05: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