From 2c98bbacc8db3b251e1679f9da84cf1f5ed5726a Mon Sep 17 00:00:00 2001 From: Sam Nystrom Date: Tue, 15 Oct 2024 13:29:10 -0400 Subject: update ~/bin --- bin/wmenu-yesno | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 bin/wmenu-yesno (limited to 'bin/wmenu-yesno') 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 ${@} -- cgit v1.2.3