diff options
author | Joe <rbo@gmx.us> | 2024-12-26 17:27:52 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2024-12-26 17:27:52 +0100 |
commit | 5cf9ed79cf0d019f4ec1d50a04415710c8f6f3de (patch) | |
tree | b012c7fe49af4db703d7dc5672991a5254d00261 /.local/bin/dmkill | |
parent | up (diff) | |
download | dotfiles-bsd-5cf9ed79cf0d019f4ec1d50a04415710c8f6f3de.tar.gz dotfiles-bsd-5cf9ed79cf0d019f4ec1d50a04415710c8f6f3de.tar.bz2 dotfiles-bsd-5cf9ed79cf0d019f4ec1d50a04415710c8f6f3de.tar.xz dotfiles-bsd-5cf9ed79cf0d019f4ec1d50a04415710c8f6f3de.tar.zst dotfiles-bsd-5cf9ed79cf0d019f4ec1d50a04415710c8f6f3de.zip |
up
Diffstat (limited to '.local/bin/dmkill')
-rwxr-xr-x | .local/bin/dmkill | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.local/bin/dmkill b/.local/bin/dmkill index 9c7c838..c022490 100755 --- a/.local/bin/dmkill +++ b/.local/bin/dmkill @@ -5,8 +5,8 @@ use warnings; use File::HomeDir qw(home); use constant KILL_PATH => '/bin/kill'; use constant CONFIRM => [ - "No", - "Yes" + "no", + "yes" ]; sub confirm @@ -18,7 +18,7 @@ sub confirm for (@{+CONFIRM}) { $list .= $_ . "\n"; } - $choice = `printf "%s" "$list" | dmenu -i -p "Kill $proc ($pid)?" -l 2 -m 0`; + $choice = `printf "%s" "$list" | dmenu -i -p "kill $proc ($pid)?" -l 2 -m 0`; chomp $choice; if ($choice eq ${+CONFIRM}[1]) { return (1); |