summary refs log tree commit diff
path: root/.config/sway
diff options
context:
space:
mode:
Diffstat (limited to '.config/sway')
-rw-r--r--.config/sway/config17
1 files changed, 2 insertions, 15 deletions
diff --git a/.config/sway/config b/.config/sway/config
index 8af69ad..affbfb6 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -85,23 +85,10 @@ client.unfocused $bg2 $bg $text2 $indicator_unfocused $bg
 client.urgent $urgent2 $urgent $text $indicator_focused $urgent
 # }}}
 
-exec {
-	light -S 80
-	once oguri
-	once kanshi
-	once wlsunset -l $HOME_LAT -L $HOME_LON -H ~/bin/darkmode
-	once waybar
-	once swayidle -w \
-		timeout 540 'lock' \
-		timeout 800 'swaymsg output \* dpms off' \
-				resume 'swaymsg output \* dpms on' \
-		before-sleep 'lock' \
-		lock 'lock'
-	once foot -s
-}
 
 exec {
-	dbus-update-activation-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK && once pipewire
+	light -S 80
+  once -- s6-svscan ${HOME}/.local/share/s6
 }
 
 exec_always sleep 1.4 && kanshictl reload