~/.config/sway/config
output "*" background /home/onny/pictures/fredwang_norway.jpg fill
i can set only one wallpaper ?? is there any option?
I use a script and an output line like this:
output * bg `wallpaper` fill
I use a script and an output line like this:
output * bg `wallpaper` fillbroken link
I am trying to write a small utility that can change the desktop wallpaper, regardless of which windowmanager is running. The plan is to change the wallpaper according to the time of day.
Is there a command that can be used for changing the wallpaper after Sway has started?
For Gnome 3 it is something along the lines of:
gsettings set org.gnome.desktop.background picture-uri file:///$PATH_TO_FILE
What would an equivalent command be for Sway?
Found it!
swaymsg 'output "*" background $HOME/some/image.png fill'
Never mind then. :)
Here is a one-liner:
set $wallpapers_path $HOME/Images/wallpapers
output * bg `find $wallpapers_path -type f | shuf -n 1` fill
Most helpful comment
Here is a one-liner: