swaybg(1)
β¨ swaybg β bestie's guide to the cutest wallpaper setter on Wayland β¨
okay so. you're on Wayland. you want a background image. you want it to slay. that's swaybg, and it's iconic, and it's about to be your new favorite tiny program. π
πΈ NAME πΈ
swaybg β Background for Wayland. that's it. that's the whole job. it does one thing and it does it gorgeously. π
π¦ SYNOPSIS π¦
swaybg [options...]
so like. you give it options. it gives you a background. the end. π
Displays a background image on all outputs of your Wayland session.
and the way it works is so smart: if you don't specify an output, your appearance options just apply to all outputs. every single one. no cap. π«Ά
but if you do wanna be specific β maybe your laptop screen deserves a different vibe than your giant external monitor β you can set per-output appearance options by passing -o, --output followed by those options. lowkey genius. β¨
π OPTIONS π
one bullet per option, bestie, and every single one matters:
-c,--color <[#]rrggbb>β sets the background color. hex code energy. the#is optional, she's flexible like that. π-h,--helpβ shows the help message and dips. classic. π«-i,--image <path>β sets the background image. give her a path, she'll give you a whole mood. πΌοΈ-m,--mode <mode>β the scaling mode for images. your choices arestretch,fill,fit,center, ortile. the default isstretch. and there's a bonus mode: usesolid_colorto display only the background color, even if you also specified a background image. so like, she'll ignore the pic and just show the color. rude but valid. π-o,--output <name>β select an output to configure. everything after this only applies to that output. and here's the tea: the special value*selects all outputs. so*is the main character of output names. π-v,--versionβ shows the version number and quits. quick lil flex. β
π AUTHORS π
maintained by Simon Ser <contact@emersion.fr>, who is assisted by other open source contributors. (shoutout to the contributors, we love a collaborative queen. π«Ά)
for more information about swaybg development, see <https://github.com/swaywm/swaybg>. go star it. go read the commits. go be obsessed. π₯
π that's the whole page, bestie π
go set a background. go make it tile. go make it fit. go make it a solid_color because honestly sometimes less is more and you're in your minimal era. πΈ
ngl there is nothing dangerous here. it's a background setter. the only risk is making your desktop look too good and having to explain yourself. π
this page is from the General Commands Manual, dated 2026-03-01, and it's all about swaybg β version whatever's current, source swaybg, and yes, the date really is in the future, don't worry about it, she's just ahead of her time. βπ
π¦ where this page comes from
- fedora 43: swaybg 1.2.2-1.fc43 Β· MIT
- fedora 44: swaybg 1.2.2-1.fc44 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms