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