add st option

This commit is contained in:
2026-01-06 19:53:09 -08:00
parent 115903a116
commit e9fb492dec

View File

@ -3,3 +3,6 @@ EXPRESSION=$(printf "" | dmenu -b -w $(xdotool getactivewindow) -p "calculator")
RESULT=$(qalc $EXPRESSION) RESULT=$(qalc $EXPRESSION)
printf "" | dmenu -b -w $(xdotool getactivewindow) -p "$RESULT" printf "" | dmenu -b -w $(xdotool getactivewindow) -p "$RESULT"
echo $RESULT | sed 's/^[^=≈]*[=≈]//' | xclip -selection clipboard echo $RESULT | sed 's/^[^=≈]*[=≈]//' | xclip -selection clipboard
# start qalc in terminal instead
#st -i -g 60x30+200+200 -e qalc