summary refs log tree commit diff
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2020-06-23 13:01:52 +0200
committerRobert Günzler <r@gnzler.io>2020-06-23 13:01:52 +0200
commitc4c4fd0785fad749c943867d42b04df69aa09fab (patch)
tree7abc79b52cf55e84fba419b3f191583c45b29e3e
parent98a853a1359f65e0209132cc94bf472a7339ddee (diff)
sway: extend swayidle screen off delay
-rw-r--r--.config/sway/config10
1 files changed, 5 insertions, 5 deletions
diff --git a/.config/sway/config b/.config/sway/config
index 0aaabc9..ced5b40 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -6,18 +6,18 @@ exec doas /etc/init.d/kanshi restart
 # output * max_render_time 1
 # output * adaptive_sync on
 
-exec oguri
-exec_always ogurictl output --image output $HOME/.background *
+exec_always kanshictl reload
+exec_always exec sh -c 'pkill oguri && oguri'
 
 exec redshift
 exec mako
 exec mpd-mpris -no-instance
 exec swayidle -w \
 	timeout 540 'lock' \
-	timeout 600 'swaymsg "output * dpms off"' \
-	     resume 'swaymsg "output * dpms on"' \
+	timeout 800 'swaymsg output \* dpms off' \
+	     resume 'swaymsg output \* dpms on' \
 	before-sleep 'lock' \
-	lock lock
+	lock 'lock'
 
 # for_window [app_id=Alacritty] max_render_time 2
 # for_window [app_id=firefox] max_render_time 3