1
0
Fork
You've already forked wawa-help
0
forked from sewn/wawa
Distinctive simpler wlroots wallpaper setter
  • C 99.8%
  • Makefile 0.2%
Find a file
2026年05月20日 13:19:35 +02:00
.gitignore initial commit 2026年05月04日 21:37:42 +03:00
LICENSE initial commit 2026年05月04日 21:37:42 +03:00
Makefile mk: use -D_GNU_SOURCE 2026年05月20日 13:19:35 +02:00
README.md README: oops 2026年05月14日 17:18:17 +03:00
stb_image.h initial commit 2026年05月04日 21:37:42 +03:00
stb_image_resize2.h import stb_image_resize2 2026年05月07日 23:01:39 +03:00
stbi_alloc.h import stb_image_resize2 2026年05月07日 23:01:39 +03:00
wawa.c remove mman.h include 2026年05月20日 13:18:43 +02:00
wlr-layer-shell-unstable-v1.xml initial commit 2026年05月04日 21:37:42 +03:00

wawa

A simple, hackable, and distinctive Wayland wallpaper setter utilizing stb_image that targets wlr-layer-shell supported compositors, featuring tiling, spreading across monitors, along with fill, fit and stretching the wallpaper, with less SLOC than your average wallpaper setter.

In wawa, the image is loaded only for monitors that need it, and is immediately freed when all monitors have been configured; this keeps the memory usage of wawa extremely low (7x less than wbg, almost 24x less than swaybg), which may be a performance hit if youre constantly resizing the monitor. Please open an issue if this concerns you, in which case a specific flag can be added to keep the image in memory, unless it is a design flaw.

Comparison

swaybg uses cairo, and has a significant amount of customization, with a slightly larger codebase. wbg is more sophisticated, but is simpler than swaybg, and relies on speed using minimal third-party libraries for loading images, much like wbg. It also has support for defining multiple images for each monitor specified on the command line.

Unfortunately, wbg is so simple, while supporting modern libraries, it has only two modes, fit (with -s flag) and fill (default), which makes it undesireable for those who want to tile or etc.

No other wallpaper setter supports tiling out of the box.