diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-03-12 18:44:39 +0100 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-03-12 18:44:39 +0100 |
commit | 84ac9a70cc70272ee181aa0a3e0276fc8de673fd (patch) | |
tree | ef096b2f6bec78782792a841481501eed83ba3dc /bin/guiscripts/dmcalc | |
parent | fab8d61418e2652881a56b586588f3373df5f971 (diff) |
added more guiscripts
Diffstat (limited to 'bin/guiscripts/dmcalc')
-rwxr-xr-x | bin/guiscripts/dmcalc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/bin/guiscripts/dmcalc b/bin/guiscripts/dmcalc new file mode 100755 index 0000000..46c35c6 --- /dev/null +++ b/bin/guiscripts/dmcalc @@ -0,0 +1,12 @@ +#!/bin/sh +dmenu -p Calculate: < /dev/null | + xargs echo | + bc 2>&1 | + xargs -I {} echo -e "{}\n" | + dmenu -p Answer: -l 1 -g 1 | + xclipp +# TODO +# ask for calculation +# shows answer +# if esc -> quit +# if enter, continue with answer |