1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-28 06:55:33 +02:00
tldr/pages/common/swaybg.md

16 lines
426 B
Markdown

# swaybg
> Wallpaper tool for Wayland compositors.
> More information: <https://github.com/swaywm/swaybg/blob/master/swaybg.1.scd>.
- 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}}"`