From 21a7e014c35fe627e04f74ac410c9353bb8aa831 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Sat, 2 Feb 2019 15:24:55 -0500 Subject: [PATCH] bc for dropdown calc --- .scripts/i3cmds/dropdowncalc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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