From bdebc9e86ad77316e1d2703cdc2f5d194d51742a Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Tue, 31 Aug 2021 12:32:52 +0200 Subject: use s6 to manage user services --- .config/sway/config | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) (limited to '.config') 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 -- cgit 1.4.1