16 lines
394 B
Markdown
16 lines
394 B
Markdown
# swaybg
|
||
|
||
> 用于 Wayland 合成器的壁纸工具。
|
||
> 更多信息:<https://github.com/swaywm/swaybg/blob/master/swaybg.1.scd>。
|
||
|
||
- 将壁纸设置为一张 [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}}"` |