# swaybg > 用于 Wayland 合成器的壁纸工具。 > 更多信息:。 - 将壁纸设置为一张 [i]mage: `swaybg --image {{path/to/image}}` - 设置壁纸 [m]ode: `swaybg --image {{path/to/image}} --mode {{stretch|fit|fill|center|tile|solid_color}}` - 将壁纸设置为静态 [c]olor: `swaybg --color "{{#rrggbb}}"`