diff options
| author | Sam Nystrom <sam@samnystrom.dev> | 2024-10-15 13:29:10 -0400 |
|---|---|---|
| committer | Sam Nystrom <sam@samnystrom.dev> | 2024-10-15 13:29:10 -0400 |
| commit | 2c98bbacc8db3b251e1679f9da84cf1f5ed5726a (patch) | |
| tree | 10d44c9b82d275d66d880ff8ec33992cddda12b5 /bin/wmenu-yesno | |
| parent | c8c79e6c6a5c4bb1e0ba44f309ce5ae612f97e1c (diff) | |
update ~/bin
Diffstat (limited to 'bin/wmenu-yesno')
| -rwxr-xr-x | bin/wmenu-yesno | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/wmenu-yesno b/bin/wmenu-yesno new file mode 100755 index 0000000..e719215 --- /dev/null +++ b/bin/wmenu-yesno @@ -0,0 +1,4 @@ +#!/command/execlineb -s1 +backtick -ED No answer { heredoc 0 "Yes\nNo\n" wmenu -p ${1} } +if -t { test ${answer} = Yes } +exec ${@} |
