diff options
author | Joe <bousset.rudy@gmail.com> | 2022-08-01 15:18:51 +0200 |
---|---|---|
committer | Joe <bousset.rudy@gmail.com> | 2022-08-01 15:18:51 +0200 |
commit | 4d1fb4392f602587ac225f160842ca05b5b09751 (patch) | |
tree | e5fe6ed75db523cab2c7da4000d6e969aabb77d7 /.local/bin/dmkill | |
parent | move opaque removed (diff) | |
download | dotfiles-bsd-4d1fb4392f602587ac225f160842ca05b5b09751.tar.gz dotfiles-bsd-4d1fb4392f602587ac225f160842ca05b5b09751.tar.bz2 dotfiles-bsd-4d1fb4392f602587ac225f160842ca05b5b09751.tar.xz dotfiles-bsd-4d1fb4392f602587ac225f160842ca05b5b09751.tar.zst dotfiles-bsd-4d1fb4392f602587ac225f160842ca05b5b09751.zip |
dmkill fix
Diffstat (limited to '')
-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); |