diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-03-09 22:36:31 +0100 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-03-09 22:36:31 +0100 |
commit | 9e85958054b804e282fa2948a6059fc99429adb2 (patch) | |
tree | bafe1f5e54e54999408d5677cce0cdf839522154 | |
parent | 069a98eee4f7a71f19aef694ba814ff756da06aa (diff) |
keep history of prompts in /tmp/damsk_history
-rwxr-xr-x | bin/guiscripts/dmask | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/guiscripts/dmask b/bin/guiscripts/dmask index 6772854..dd52c5a 100755 --- a/bin/guiscripts/dmask +++ b/bin/guiscripts/dmask @@ -4,7 +4,7 @@ which dmenu Xdialog ask > /dev/null || exit 1 -prompt="$(echo -n | dmenu -p "prompt:" | tr '"' "'")" +prompt="$(echo -n | dmenu -p "prompt:" | tr '"' "'" | tee -a /tmp/dmask_history)" test -z "$prompt" && exit 1 answer="$(ask "$prompt" | tr '"' "'" | fold -w 80 -s)" |