sway: Suspender sin pm-suspend

This commit is contained in:
Cat /dev/Nulo 2022-03-12 16:35:18 -03:00
parent 1a6158fffd
commit b4b89b5218

View file

@ -34,7 +34,7 @@ exec swayidle -w \
timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \ timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
before-sleep 'swaylock -f -c ffffff' before-sleep 'swaylock -f -c ffffff'
bindsym $mod+m exec swaylock bindsym $mod+m exec swaylock
bindsym $mod+Shift+m exec "swaylock -f && doas pm-suspend" bindsym $mod+Shift+m exec "swaylock -f && doas su -c 'echo mem > /sys/power/state'"
### Input configuration ### Input configuration
# #