Make hibernation and suspend work
This commit is contained in:
@@ -28,13 +28,13 @@ case "$sel" in
|
||||
*Hibernate*)
|
||||
confirm=$(printf "No\nYes" | dmenu -i -p "Are you sure you want to hibernate? :" \
|
||||
-nf '#e0af68' -nb '#1f2335' -sb '#f7768e' -sf '#1a1b26' -fn 'AgaveNerdFont-16')
|
||||
[ "$confirm" = "Yes" ] && exec systemctl hibernate
|
||||
[ "$confirm" = "Yes" ] && exec systemctl --system hibernate
|
||||
;;
|
||||
*Stop\ KutuWM*)
|
||||
exec kutu-run.rb stop
|
||||
;;
|
||||
*Suspend*)
|
||||
exec systemctl suspend
|
||||
exec systemctl --system suspend
|
||||
;;
|
||||
*Lock*)
|
||||
~/dotfiles/scripts/lock.sh &
|
||||
|
||||
Reference in New Issue
Block a user