diff options
Diffstat (limited to '.local/bin')
-rwxr-xr-x | .local/bin/dmkill | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/dmkill b/.local/bin/dmkill index 8e2f07c..521f315 100755 --- a/.local/bin/dmkill +++ b/.local/bin/dmkill @@ -53,7 +53,7 @@ sub main my $ps; my $user; - $user = getlogin(); + $user = getpwuid($<); $choice = `ps -U "$user" -o pid,user,comm,time,%cpu,%mem | dmenu -i -l 32 -m 0`; action($choice, $user); return (0); |