summaryrefslogtreecommitdiffstats
path: root/.local/bin/dmkill
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/dmkill')
-rwxr-xr-x.local/bin/dmkill4
1 files changed, 2 insertions, 2 deletions
diff --git a/.local/bin/dmkill b/.local/bin/dmkill
index c022490..0ff1257 100755
--- a/.local/bin/dmkill
+++ b/.local/bin/dmkill
@@ -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)?"`;
chomp $choice;
if ($choice eq ${+CONFIRM}[1]) {
return (1);
@@ -55,7 +55,7 @@ sub main
my $user;
$user = getpwuid($<);
- $choice = `ps -U "$user" -o pid,user,comm,time,%cpu,%mem | dmenu -i -l 32 -m 0`;
+ $choice = `ps -U "$user" -o pid,user,comm,time,%cpu,%mem | dmenu -i -l 100`;
action($choice, $user);
return (0);
}