sway: Usar lock

This commit is contained in:
Cat /dev/Nulo 2022-04-10 15:23:08 -03:00
parent 7d6c6d5efc
commit d21953471e

View file

@ -30,11 +30,11 @@ output * bg "~/Pictures/crash-novyj-albom-charli-xcx.jpg" fill
# Example configuration: # Example configuration:
# #
exec swayidle -w \ exec swayidle -w \
timeout 300 'swaylock -f -c ffffff' \ timeout 300 'lock' \
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 'lock'
bindsym $mod+m exec swaylock bindsym $mod+m exec lock
bindsym $mod+Shift+m exec "swaylock -f && doas su -c 'echo mem > /sys/power/state'" bindsym $mod+Shift+m exec "lock && doas su -c 'echo mem > /sys/power/state'"
### Input configuration ### Input configuration
# #