get configs ready for nwg-shell-config 0.3.7

This commit is contained in:
piotr
2022-07-12 00:18:23 +02:00
committed by natemaia
parent 06f84bfb80
commit c9c601bb25
3 changed files with 24 additions and 11 deletions

View File

@ -47,16 +47,6 @@ set $laptop eDP-1
bindswitch lid:on output $laptop disable
bindswitch lid:off output $laptop enable
### Idle configuration
exec swayidle -w \
timeout 3000 'swaylock -f -c 212121' \
timeout 3300 'swaymsg "output * dpms off"' \
resume 'swaymsg "output * dpms on"' \
before-sleep 'swaylock -f -c 212121'
# This will lock your screen after 3000 seconds of inactivity, then turn off
# your displays after another 3300 seconds, and turn your screens back on when
# resumed. It will also lock your screen before your computer goes to sleep.
############# Bindings ##################
# kill focused window