From 7b21727285e50b0b050c4ddd70d07542229c5366 Mon Sep 17 00:00:00 2001 From: pants Date: Mon, 21 Sep 2026 14:17:03 -0700 Subject: init --- bin/calculator | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 bin/calculator (limited to 'bin/calculator') 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 -- cgit v1.2.3