Skip to content

Commit e3f73e7

Browse files
authored
Use id -u -n in powermenu.sh
1 parent aa90fa5 commit e3f73e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.config/rofi/powermenu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ then
2929
slock
3030
elif [ "$selected_option" == "$logout" ]
3131
then
32-
pkill -u user
32+
pkill -u $(id -u -n)
3333
elif [ "$selected_option" == "$shutdown" ]
3434
then
3535
systemctl poweroff

0 commit comments

Comments
 (0)