From 5cf9ed79cf0d019f4ec1d50a04415710c8f6f3de Mon Sep 17 00:00:00 2001 From: Joe Date: Thu, 26 Dec 2024 17:27:52 +0100 Subject: up --- .local/bin/dmkill | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.local/bin/dmkill') 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); -- cgit v1.2.3