Super simple wallpaper application for Wayland compositors implementing the layer-shell protocol
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Daniel Eklöf d6aa913f62
main: fix errno check
4 days ago
external Initial commit 9 months ago
.gitignore Initial commit 9 months ago
LICENSE license: fix year 9 months ago
PKGBUILD pkgbuild: makedepends: add wayland-protocols 4 days ago
README.md readme: add “repology” badge 2 months ago
generate-version.sh Initial commit 9 months ago
jpg.c main: open file once, in main, and log an error when we fail 7 months ago
jpg.h main: open file once, in main, and log an error when we fail 7 months ago
log.c Initial commit 9 months ago
log.h Initial commit 9 months ago
main.c main: fix errno check 4 days ago
meson.build meson/pkgbuild: bump version to 1.0.1 5 months ago
meson_options.txt make both libpng and libjpeg optional 7 months ago
png-wbg.h main: open file once, in main, and log an error when we fail 7 months ago
png.c main: open file once, in main, and log an error when we fail 7 months ago
shm.c shm: fix copy-paste typo in memfd name; this is wbg, not fuzzel 4 days ago
shm.h shm: don’t cache buffers 7 months ago
stride.h Initial commit 9 months ago

README.md

Wbg

Super simple wallpaper application for Wayland compositors implementing the layer-shell protocol.

Wbg takes a single command line argument: a path to an image file. This image is displayed scaled-to-fit on all monitors.

More display options, and/or the ability to set a per-monitor wallpaper may be added in the future.

Packaging status

Requirements

Runtime

  • pixman
  • wayland (client and cursor libraries)
  • libpng (optional)
  • libjpeg (optional)

Note that at least one of libpng and libjpeg is required.

Compile time

  • Development packages for all the libraries listed under runtime.
  • wayland-protocols
  • tllist

Building

meson --buildtype=release build
ninja -C build
sudo ninja -C build install

By default, PNG and JPEG support is auto-detected. You can force disable/enable them with the meson command line options -Dpng=disabled|enabled and -Djpeg=disabled|enabled.