mirror of
https://codeberg.org/dwl/dwl-patches.git
synced 2025-10-26 17:54:17 +00:00
Description
Add a system tray next to the bar. Heed the warning, this is far from suckless ^^
Superseded by bar-systray.
Dependencies
- GTK4
- bar.patch as mentioned.
- gtk4-layer-shell
- statusnotifier-systray-gtk4 built as a static library.
Applying the patch
The patch applies on top of the bar patch. That needs to be applied first.
The patch creates subdirectories lib and include. After patching, but before make, install
libstatusnotifier-systray-gtk4.a and snsystray.h from statusnotifier-systray-gtk4 in the
directories. One possible way to do that:
- Clone https://codeberg.org/janetski/statusnotifier-systray-gtk4. Can clone to any location.
- From statusnotifier-systray-gtk4 root:
$ meson setup --default-library=static --prefix=/ -Dgir=false -Dvala=false -Ddocs=false build$ meson compile -C build$ DESTDIR=$DWLDIR meson install -C build, where $DWLDIR is the path to dwl root.
- Finally, from dwl root, run
make.
