diff options
| author | Robert Günzler <r@gnzler.io> | 2021-08-31 12:32:52 +0200 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2021-08-31 12:41:21 +0200 |
| commit | bdebc9e86ad77316e1d2703cdc2f5d194d51742a (patch) | |
| tree | 25f9bcec1924bb668e2f2077d229904fbe2a56cb /.config/sway | |
| parent | 384babec22004b8a2cdd5cf6c6d4aafa05594813 (diff) | |
use s6 to manage user services
Diffstat (limited to '.config/sway')
| -rw-r--r-- | .config/sway/config | 17 |
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 |