Updated Startup (process manager) Integration (markdown)

Cameron Nemo 2019-06-07 13:01:54 -07:00
parent 6ee27b88b4
commit 13cbdd77dd

@ -57,22 +57,8 @@ exec swayidle timeout "$TIME" 'initctl emit -n swayidle' \
# ~/.config/startup/swaybg.conf
start on swaybg
stop on stopping sway
instance $display
respawn
exec swaybg "${display}" /usr/share/backgrounds/default fill
```
```
# ~/.config/startup/swaybg-autostart.conf
start on sway-session
stop on stopping sway
emits swaybg
task
script
for display in $(swaymsg -rt get_outputs | jq -r .[].name); do
initctl emit -n swaybg "display=${display}"
done
end script
exec swaybg -o '*' -i /usr/share/backgrounds/default -m fill
```
```