diff options
Diffstat (limited to 'config')
| -rw-r--r-- | config/sway/config | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/config/sway/config b/config/sway/config index 4790d00..16b219e 100644 --- a/config/sway/config +++ b/config/sway/config @@ -46,11 +46,16 @@ output eDP-1 resolution 1920x1080 position 0,0 # This will lock your screen after 300 seconds of inactivity, then turn off # your displays after another 600 seconds, and turn your screens back on when # resumed. It will also lock your screen before your computer goes to sleep. + +set $lock_cmd 'swaylock -i $DOTFILES_LOCATION/wallpapers/blue_screen.png' + exec swayidle \ - timeout 300 'swaylock -c 000000' \ + timeout 300 $lock_cmd \ timeout 600 'swaymsg "output * dpms off"' \ resume 'swaymsg "output * dpms on"' \ - before-sleep 'swaylock -c 000000' + before-sleep $lock_cmd + +for_window [app_id='qutebrowser'] inhibit_idle fullscreen ### Input configuration # |
