mirror of
https://github.com/swaywm/sway.git
synced 2024-11-28 02:41:28 +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
|
||||
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
|
||||
```
|
||||
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue