summaryrefslogtreecommitdiffstats
path: root/.local/bin/dmkill
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-12-27 09:55:45 +0100
committerJoe <rbo@gmx.us>2024-12-27 09:55:45 +0100
commit48e216d8f05423454cfd2ebbb56a72679c74019f (patch)
treed9c51db27d383109dd826b9abecb3e6d477a3cec /.local/bin/dmkill
parentup (diff)
downloaddotfiles-bsd-48e216d8f05423454cfd2ebbb56a72679c74019f.tar.gz
dotfiles-bsd-48e216d8f05423454cfd2ebbb56a72679c74019f.tar.bz2
dotfiles-bsd-48e216d8f05423454cfd2ebbb56a72679c74019f.tar.xz
dotfiles-bsd-48e216d8f05423454cfd2ebbb56a72679c74019f.tar.zst
dotfiles-bsd-48e216d8f05423454cfd2ebbb56a72679c74019f.zip
up
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);
}