LinuxCommandLibrary

swaybg

Wallpaper tool for Wayland compositors.

TLDR

Set the wallpaper to an [i]mage

$ swaybg --image [path/to/image]
copy


Set the wallpaper [m]ode
$ swaybg --image [path/to/image] --mode [stretch|fit|fill|center|tile|solid_color]
copy


Set the wallpaper to a static [c]olor
$ swaybg --color ["#rrggbb"]
copy

Copied to clipboard