1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

i3/powermenu: exit systemd session on logout

This commit is contained in:
Joe Groocock 2020-03-22 12:34:05 +00:00
parent 9aeeee58d0
commit c495293fb7
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -4,7 +4,7 @@ option=$(echo "lock|logout|sleep|hibernate|power off|reboot|windows" | rofi -sep
case $option in
lock) dm-tool switch-to-greeter;;
logout) i3-msg exit;;
logout) systemctl --user exit;;
sleep) systemctl suspend;;
hibernate) systemctl hibernate;;
power\ off) systemctl poweroff;;
@ -14,5 +14,3 @@ case $option in
sudo efibootmgr -n $windows
reboot;;
esac
exit 0