From 48e216d8f05423454cfd2ebbb56a72679c74019f Mon Sep 17 00:00:00 2001 From: Joe Date: Fri, 27 Dec 2024 09:55:45 +0100 Subject: up --- .local/bin/dmkill | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.local/bin/dmkill') 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); } -- cgit v1.2.3