summary refs log tree commit diff
path: root/.config/sway
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2022-11-24 21:04:46 +0100
committerRobert Günzler <r@gnzler.io>2022-11-24 21:11:03 +0100
commit7c7756523e72d087214b786b16f302ea35c2f905 (patch)
tree0a9e710270ace98088ec3d9ec26c16a934dfec03 /.config/sway
parent01ae2efe1192caf4b129ddddc9696ab2872a2271 (diff)
sway: run starup commands earlier
Diffstat (limited to '.config/sway')
-rw-r--r--.config/sway/config14
1 files changed, 7 insertions, 7 deletions
diff --git a/.config/sway/config b/.config/sway/config
index cf93cc8..f1a0120 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -1,5 +1,12 @@
 # vim: ft=i3config fdm=marker
 
+exec /home/robert/.config/sway/marker.sh
+exec_always {
+	dbus-update-activation-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP BEMENU_OPTS
+	light -S 80
+	kanshictl reload
+}
+
 xwayland enable
 
 gaps inner 0
@@ -74,13 +81,6 @@ default_floating_border pixel $fat_bpix
 include colors.conf
 # }}}
 
-exec_always {
-	dbus-update-activation-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP BEMENU_OPTS
-	once -- s6-svscan ${HOME}/.local/share/s6
-	light -S 80
-	sleep 2 && kanshictl reload
-}
-
 include config.d/*
 
 # bar tasks {