diff --git a/pages/common/swaybg.md b/pages/common/swaybg.md index 61e3c884c9..6b41c58849 100644 --- a/pages/common/swaybg.md +++ b/pages/common/swaybg.md @@ -1,16 +1,25 @@ # swaybg > Wallpaper tool for Wayland compositors. +> Note: Sway starts `swaybg` automatically if a wallpaper is set in the config file. > More information: . -- Set the wallpaper to an image: +- Set the wallpaper on all monitors to an image: `swaybg {{[-i|--image]}} {{path/to/image}}` -- Set the wallpaper mode: +- Set the image scaling mode (default: `stretch`): `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}}"` +`swaybg {{[-c|--color]}} {{rrggbb}}` + +- Set the wallpaper on a specific monitor: + +`swaybg {{[-o|--output]}} {{HDMI-1}} {{[-i|--image]}} {{path/to/image}}` + +- Set different wallpapers on multiple monitors: + +`swaybg {{[-o|--output]}} {{HDMI-1}} {{[-i|--image]}} {{path/to/image}} {{[-o|--output]}} {{DP-1}} {{[-i|--image]}} {{path/to/image}}`