commands.sh

swaybg

all

Wallpaper tool for Wayland compositors.

More info →

Options (3)

-i, --imageboolean

Set the wallpaper to an image

Example: swaybg {{[-i|--image]}} {{path/to/image}}
-m, --modeboolean

Set the wallpaper mode

Example: swaybg {{[-i|--image]}} {{path/to/image}} {{[-m|--mode]}} {{stretch|fit|fill|center|tile|solid_color}}
-c, --colorboolean

Set the wallpaper to a static color

Example: swaybg {{[-c|--color]}} "{{#rrggbb}}"

Examples (3)

Set the wallpaper to an image

swaybg [-i|--image] path/to/image

Set the wallpaper mode

swaybg [-i|--image] path/to/image [-m|--mode] stretch|fit|fill|center|tile|solid_color

Set the wallpaper to a static color

swaybg [-c|--color] "#rrggbb"
made by @shridhargupta | data from tldr-pages