summaryrefslogtreecommitdiffstats
path: root/.local/bin/dmkill
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-x.local/bin/dmkill6
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);