Gentoo: using elogind now

This commit is contained in:
i.ortega 2020-04-28 14:12:12 +02:00
parent 2641d1b39e
commit 9fce96e7e7
4 changed files with 4 additions and 4 deletions

View File

@ -2,4 +2,4 @@
xscreensaver-command -lock
sleep 1
sudo pm-hibernate
loginctl hibernate

View File

@ -3,4 +3,4 @@
res="$(printf "%b\n" "Yes\nNo" | dmenu -nb "#DF7401" -sb "#8A0886" -nf "#ffffff" \
-sf "#ffffff" -p "Are you sure u want to poweroff?")"
[ "$res" = "Yes" ] && sudo poweroff
[ "$res" = "Yes" ] && loginctl poweroff

View File

@ -3,4 +3,4 @@
res="$(printf "%b\n" "Yes\nNo" | dmenu -nb "#DF7401" -sb "#8A0886" -nf "#ffffff" \
-sf "#ffffff" -p "Are you sure u want to reboot?")"
[ "$res" = "Yes" ] && sudo reboot
[ "$res" = "Yes" ] && loginctl reboot

View File

@ -2,4 +2,4 @@
xscreensaver-command -lock
sleep 1
sudo pm-suspend
loginctl suspend