summary refs log tree commit diff
path: root/.config/sway/config
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2020-06-28 23:55:51 +0200
committerRobert Günzler <r@gnzler.io>2020-06-28 23:58:37 +0200
commitf548bca8d6aa337ff673dc2b9f0a30b2f2c512fd (patch)
tree4a55c137b21c5e02264bf293117d4d49233f2916 /.config/sway/config
parent402cb8a549674f6fb1a5f9d449024cc0422d348a (diff)
sway: refactor base config
* use new custom 'gui' runlevel to launch kanshi/waybar
* remove oguri (for now)
Diffstat (limited to '.config/sway/config')
-rw-r--r--.config/sway/config16
1 files changed, 7 insertions, 9 deletions
diff --git a/.config/sway/config b/.config/sway/config
index ef764c0..8aea166 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -1,14 +1,15 @@
 # vim: ft=i3 fdm=marker
 
-output * scale 1
-exec doas /etc/init.d/kanshi restart
-
-# output * max_render_time 1
-# output * adaptive_sync on
+exec doas rc gui
 
 exec_always kanshictl reload
-exec_always exec sh -c 'pkill oguri && oguri'
+output * scale 1
+output * max_render_time 1
+output * adaptive_sync on
+output * bg $HOME/Pictures/IMG_20180616_170559.jpg fill
+output 'Dell Inc. DELL U2518D 3C4YP87AAK3L' bg $HOME/Pictures/IMG_20180506_171549.jpg fill
 
+# exec_always sh -c 'sleep 2 ; killall oguri ; oguri'
 exec light -S 80
 exec redshift
 exec mako
@@ -91,6 +92,3 @@ client.urgent $urgent2 $urgent $text $indicator $urgent
 
 # include config.d/*
 include "`uname -n`"
-
-exec_always kanshictl reload
-exec_always doas /etc/init.d/waybar restart