swaybg: add page (#11533)

* new swaybg page

* revivew changes

* review changes 2

* review 3
pull/23/head
Ivan Dimitrov 2023-11-18 12:46:47 +02:00 committed by GitHub
parent 6edd7d1854
commit c544ed68bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 0 deletions

16
pages/linux/swaybg.md Normal file
View File

@ -0,0 +1,16 @@
# swaybg
> Wallpaper tool for Wayland compositors.
> More information: <https://github.com/swaywm/swaybg/blob/master/swaybg.1.scd>.
- Set the wallpaper to an [i]mage:
`swaybg --image {{path/to/image}}`
- Set the wallpaper [m]ode:
`swaybg --image {{path/to/image}} --mode {{stretch|fit|fill|center|tile|solid_color}}`
- Set the wallpaper to a static [c]olor:
`swaybg --color {{"#rrggbb"}}`