1 2 3 4 5
#!/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) || python -q