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:
|
||||
#
|
||||
exec swayidle -w \
|
||||
timeout 300 'swaylock -f -c ffffff' \
|
||||
timeout 300 'lock' \
|
||||
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 su -c 'echo mem > /sys/power/state'"
|
||||
before-sleep 'lock'
|
||||
bindsym $mod+m exec lock
|
||||
bindsym $mod+Shift+m exec "lock && doas su -c 'echo mem > /sys/power/state'"
|
||||
|
||||
### Input configuration
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue