mirror of
https://github.com/swaywm/sway.git
synced 2024-11-24 08:51:27 +00:00
Updated Startup (process manager) Integration (markdown)
parent
6ee27b88b4
commit
13cbdd77dd
|
@ -57,22 +57,8 @@ exec swayidle timeout "$TIME" 'initctl emit -n swayidle' \
|
||||||
# ~/.config/startup/swaybg.conf
|
# ~/.config/startup/swaybg.conf
|
||||||
start on swaybg
|
start on swaybg
|
||||||
stop on stopping sway
|
stop on stopping sway
|
||||||
instance $display
|
|
||||||
respawn
|
respawn
|
||||||
exec swaybg "${display}" /usr/share/backgrounds/default fill
|
exec swaybg -o '*' -i /usr/share/backgrounds/default -m 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
|
|
||||||
```
|
```
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue