Update swaylock-cool
- Faster blur - Avoid double-locking on sleep
This commit is contained in:
@ -48,13 +48,10 @@ output eDP-1 scale 1.5
|
||||
exec mako
|
||||
|
||||
### Idle configuration
|
||||
#
|
||||
# Example configuration:
|
||||
#
|
||||
exec swayidle -w \
|
||||
timeout 300 'swaylock-cool -f' \
|
||||
timeout 300 'swaylock-cool -fFe' \
|
||||
timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
|
||||
before-sleep 'swaylock-cool -f'
|
||||
before-sleep 'swaylock-cool -fFe'
|
||||
|
||||
# This will lock your screen after 300 seconds of inactivity, then turn off
|
||||
# your displays after another 300 seconds, and turn your screens back on when
|
||||
@ -92,7 +89,7 @@ input * {
|
||||
bindsym $mod+d exec $menu
|
||||
|
||||
# Lock the screen
|
||||
bindsym $mod+Shift+Plus exec "swaylock-cool -f"
|
||||
bindsym $mod+Shift+Plus exec "swaylock-cool -fFe"
|
||||
|
||||
# Drag floating windows by holding down $mod and left mouse button.
|
||||
# Resize them with right mouse button + $mod.
|
||||
|
||||
Reference in New Issue
Block a user