sway: fix screenshots on lock
This commit is contained in:
parent
9ecb2f2a68
commit
2dc0b34814
2 changed files with 74 additions and 16 deletions
12
config
12
config
|
@ -32,12 +32,12 @@ output * bg $background fill
|
|||
|
||||
### Idle configuration
|
||||
exec swayidle -w \
|
||||
timeout 600 'swaymsg "output * dpms off"' \
|
||||
resume 'swaymsg "output * dpms on"' \
|
||||
timeout 900 '$lock_cmd' \
|
||||
timeout 1800 'systemctl suspend-then-hibernate' \
|
||||
before-sleep '$lock_cmd'
|
||||
bindsym $mod+Ctrl+Escape exec $lock_cmd
|
||||
timeout 600 '$lock_cmd off' \
|
||||
resume '$lock_cmd on' \
|
||||
timeout 900 '$lock_cmd lockonly' \
|
||||
timeout 1800 '$lock_cmd suspend' \
|
||||
before-sleep 'systemctl suspend-then-hibernat'
|
||||
bindsym $mod+Ctrl+Escape exec '$lock_cmd lock'
|
||||
|
||||
### Input configuration
|
||||
# You can get the names of your inputs by running: swaymsg -t get_inputs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue