sway: Usar lock
This commit is contained in:
parent
7d6c6d5efc
commit
d21953471e
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue