1
0
Fork
You've already forked wbg
0
forked from dnkl/wbg
Super simple wallpaper application for Wayland compositors implementing the layer-shell protocol
  • C 87.9%
  • Meson 9.4%
  • Shell 2.7%
Find a file
2025年07月16日 08:33:35 +02:00
3rd-party/nanosvg nanosvg: update to ea6a6aca009422bba0dbad4c80df6e6ba0c82183 2025年01月24日 07:02:40 +01:00
external wlr-layer-shell: bump 2021年06月27日 10:52:58 +02:00
nanosvg meson/nanosvg: add support for linking against system's nanosvg 2024年07月18日 18:21:43 +02:00
.gitignore Initial commit 2020年08月01日 15:32:48 +02:00
CHANGELOG.md changelog: add new 'unreleased' section 2025年07月16日 08:33:35 +02:00
generate-version.sh generate-version.sh: fuzzel -> wbg (oops!) 2022年10月24日 16:44:08 +02:00
jpg.c Decrease run-time memory usage by unloading image data after rendering 2025年07月14日 08:24:02 +02:00
jpg.h main: open file once, in main, and log an error when we fail 2020年10月01日 20:03:23 +02:00
jxl.c Decrease run-time memory usage by unloading image data after rendering 2025年07月14日 08:24:02 +02:00
jxl.h jxl: add initial support for JPEG XL using libjxl 2024年06月12日 20:13:43 +02:00
LICENSE license: fix year 2020年08月01日 15:34:26 +02:00
log.c log: respect the NO_COLOR environment variable 2024年07月18日 08:39:53 +02:00
log.h Initial commit 2020年08月01日 15:32:48 +02:00
main.c main: no need to set locale 2025年07月14日 08:24:07 +02:00
meson.build meson+pkgbuild: bump to 1.3.0 2025年07月16日 07:53:16 +02:00
meson_options.txt meson/nanosvg: add support for linking against system's nanosvg 2024年07月18日 18:21:43 +02:00
nanosvg.c meson/nanosvg: add support for linking against system's nanosvg 2024年07月18日 18:21:43 +02:00
nanosvgrast.c meson/nanosvg: add support for linking against system's nanosvg 2024年07月18日 18:21:43 +02:00
PKGBUILD meson+pkgbuild: bump to 1.3.0 2025年07月16日 07:53:16 +02:00
png-wbg.h main: open file once, in main, and log an error when we fail 2020年10月01日 20:03:23 +02:00
png.c Decrease run-time memory usage by unloading image data after rendering 2025年07月14日 08:24:02 +02:00
README.md readme: repology: use four columns 2024年08月20日 09:12:18 +02:00
shm.c shm: MFD_NOEXEC_SEAL is not defined by musl libc 2024年04月30日 08:47:19 +02:00
shm.h shm: don’t cache buffers 2020年10月06日 20:05:44 +02:00
stride.h Initial commit 2020年08月01日 15:32:48 +02:00
svg.c svg: nsvgParseFromFile() -> nsvgParse() 2025年07月14日 08:24:07 +02:00
svg.h Decrease run-time memory usage by unloading image data after rendering 2025年07月14日 08:24:02 +02:00
wbg-features.h wbg: use getopt() for option parsing, add help and version options 2024年08月02日 15:36:38 +02:00
webp.c Decrease run-time memory usage by unloading image data after rendering 2025年07月14日 08:24:02 +02:00
webp.h webp: intial support for WebP images, using libwebp 2022年10月04日 22:28:29 -05:00

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)
  • libwebp (optional)
  • libjxl (optional)
  • libjxl_threads (optional)

Note that if SVG support is disabled at least one of libpng, libjpeg, libwebp and libjxl is required.

libjxl_threads is recommended for better performance decoding JPEG XL images

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, JPEG, JPEG XL and WebP support is auto-detected. You can force disable/enable them with the meson command line options -Dpng=disabled|enabled, -Djpeg=disabled|enabled and -Dwebp=disabled|enabled -Djxl=disabled|enabled. SVG support is enabled by default (as it does not require additional dependencies). You can disable it with the meson command line option -Dsvg=false

Derivative work

License

Wbg is released under the MIT license.

Wbg (optionally) uses nanosvg, released under the Zlib license.