sway: Suspender sin pm-suspend
This commit is contained in:
parent
1a6158fffd
commit
b4b89b5218
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ exec swayidle -w \
|
|||
timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
|
||||
before-sleep 'swaylock -f -c ffffff'
|
||||
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
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue