summaryrefslogtreecommitdiff
path: root/bin/calculator
diff options
context:
space:
mode:
Diffstat (limited to 'bin/calculator')
-rwxr-xr-xbin/calculator8
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/calculator b/bin/calculator
new file mode 100755
index 0000000..d8257cf
--- /dev/null
+++ b/bin/calculator
@@ -0,0 +1,8 @@
+#!/bin/sh
+#EXPRESSION=$(printf "" | dmenu -b -w $(xdotool getactivewindow) -p "calculator")
+#RESULT=$(qalc $EXPRESSION)
+#printf "" | dmenu -b -w $(xdotool getactivewindow) -p "$RESULT"
+#echo $RESULT | sed 's/^[^=≈]*[=≈]//' | xclip -selection clipboard
+
+# start qalc in terminal instead
+st -i -g 60x20-100+100 -e qalc