diff --git a/patches/ipc/README.md b/patches/ipc/README.md new file mode 100644 index 0000000..95f9bb9 --- /dev/null +++ b/patches/ipc/README.md @@ -0,0 +1,17 @@ +### Description +Largely based on [raphi](https://sr.ht/~raphi/)'s [somebar](https://sr.ht/~raphi/somebar/), this patch provides an ipc for wayland clients to get and set dwl state. The ipc is intended for status bars, but can also be scripted with tools like [dwlmsg](https://codeberg.org/julmajustus/dwlmsg). + +Status information to stdout is currently disabled as dwl tends to freeze. For now, `dwlmsg -w` should act as a drop-in replacement. + +Note to [pertag](../pertag/) users: apply [this](./ipcpertag.patch) for ipc tagsetting to work as expected + +### Download +- [git branch](https://codeberg.org/julmajustus/dwl/src/branch/ipc-0.9) +- [main-d16036e](./ipc.patch) + +### Authors +- [MadcowOG](https://github.com/MadcowOG) +- [fbushstone](https://github.com/fbushstone) +- [notchoc](https://codeberg.org/notchoc) +- [snuk](https://codeberg.org/snuk) +- [julmajustus](https://codeberg.org/julmajustus) diff --git a/stale-patches/ipc/focus-tagset-output.patch b/patches/ipc/focus-tagset-output.patch similarity index 51% rename from stale-patches/ipc/focus-tagset-output.patch rename to patches/ipc/focus-tagset-output.patch index 2ea3015..94cc41f 100644 --- a/stale-patches/ipc/focus-tagset-output.patch +++ b/patches/ipc/focus-tagset-output.patch @@ -1,17 +1,17 @@ -From b65477621f0438b0ed6c405f74c9d15e8fb57e96 Mon Sep 17 00:00:00 2001 -From: choc -Date: Mon, 29 Jul 2024 21:26:06 +0800 -Subject: [PATCH] ipc: focus set_tag'd output +From e377ecd4c9f43282c8e795a1f3643c33cc5cabae Mon Sep 17 00:00:00 2001 +From: julmajustus +Date: Sun, 20 Sep 2026 02:06:41 +0300 +Subject: [PATCH] focus-tagset-output init --- dwl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dwl.c b/dwl.c -index 4a025f0..dcbb063 100644 +index d24fcb3..6c52e78 100644 --- a/dwl.c +++ b/dwl.c -@@ -1533,6 +1533,7 @@ dwl_ipc_output_set_tags(struct wl_client *client, struct wl_resource *resource, +@@ -1707,6 +1707,7 @@ dwl_ipc_output_set_tags(struct wl_client *client, struct wl_resource *resource, if (!ipc_output) return; monitor = ipc_output->mon; @@ -20,5 +20,5 @@ index 4a025f0..dcbb063 100644 if (!newtags || newtags == monitor->tagset[monitor->seltags]) return; -- -2.43.0 +2.55.0 diff --git a/stale-patches/ipc/ipc.patch b/patches/ipc/ipc.patch similarity index 81% rename from stale-patches/ipc/ipc.patch rename to patches/ipc/ipc.patch index 8268bd3..b175af0 100644 --- a/stale-patches/ipc/ipc.patch +++ b/patches/ipc/ipc.patch @@ -1,40 +1,33 @@ -From 6c6d655b68770ce82a24fde9b58c4d97b672553a Mon Sep 17 00:00:00 2001 -From: choc -Date: Mon, 23 Oct 2023 10:35:17 +0800 -Subject: [PATCH] implement dwl-ipc-unstable-v2 - https://codeberg.org/dwl/dwl-patches/wiki/ipc +From ef4e12f827e50bbbe4b1cb211cdf1f5420fc87bd Mon Sep 17 00:00:00 2001 +From: julmajustus +Date: Sun, 20 Sep 2026 02:01:46 +0300 +Subject: [PATCH] ipc init --- - Makefile | 14 +- + Makefile | 13 +- config.def.h | 1 + - dwl.c | 257 ++++++++++++++++++++++++++---- - protocols/dwl-ipc-unstable-v2.xml | 181 +++++++++++++++++++++ - 4 files changed, 419 insertions(+), 34 deletions(-) + dwl.c | 266 ++++++++++++++++++++++++++---- + protocols/dwl-ipc-unstable-v2.xml | 191 +++++++++++++++++++++ + 4 files changed, 437 insertions(+), 34 deletions(-) create mode 100644 protocols/dwl-ipc-unstable-v2.xml diff --git a/Makefile b/Makefile -index 8db7409..a79a080 100644 +index 8304245..b71571f 100644 --- a/Makefile +++ b/Makefile -@@ -17,12 +17,14 @@ DWLCFLAGS = `$(PKG_CONFIG) --cflags $(PKGS)` $(WLR_INCS) $(DWLCPPFLAGS) $(DWLDEV - LDLIBS = `$(PKG_CONFIG) --libs $(PKGS)` $(WLR_LIBS) -lm $(LIBS) - - all: dwl --dwl: dwl.o util.o -- $(CC) dwl.o util.o $(DWLCFLAGS) $(LDFLAGS) $(LDLIBS) -o $@ -+dwl: dwl.o util.o dwl-ipc-unstable-v2-protocol.o -+ $(CC) dwl.o util.o dwl-ipc-unstable-v2-protocol.o $(DWLCFLAGS) $(LDFLAGS) $(LDLIBS) -o $@ - dwl.o: dwl.c client.h config.h config.mk cursor-shape-v1-protocol.h \ +@@ -20,8 +20,9 @@ all: dwl + dwl: dwl.c client.h config.h ime.h util.h config.mk cursor-shape-v1-protocol.h \ + ext-image-copy-capture-v1-protocol.h \ pointer-constraints-unstable-v1-protocol.h wlr-layer-shell-unstable-v1-protocol.h \ - wlr-output-power-management-unstable-v1-protocol.h xdg-shell-protocol.h +- $(CC) dwl.c $(DWLCFLAGS) $(LDFLAGS) $(LDLIBS) -o $@ + wlr-output-power-management-unstable-v1-protocol.h xdg-shell-protocol.h \ -+ dwl-ipc-unstable-v2-protocol.h - util.o: util.c util.h -+dwl-ipc-unstable-v2-protocol.o: dwl-ipc-unstable-v2-protocol.c dwl-ipc-unstable-v2-protocol.h ++ dwl-ipc-unstable-v2-protocol.h dwl-ipc-unstable-v2-protocol.c ++ $(CC) dwl.c dwl-ipc-unstable-v2-protocol.c $(DWLCFLAGS) $(LDFLAGS) $(LDLIBS) -o $@ # wayland-scanner is a tool which generates C headers and rigging for Wayland # protocols, which are specified in XML. wlroots requires you to rig these up -@@ -45,6 +47,12 @@ wlr-output-power-management-unstable-v1-protocol.h: +@@ -47,11 +48,17 @@ wlr-output-power-management-unstable-v1-protocol.h: xdg-shell-protocol.h: $(WAYLAND_SCANNER) server-header \ $(WAYLAND_PROTOCOLS)/stable/xdg-shell/xdg-shell.xml $@ @@ -43,36 +36,42 @@ index 8db7409..a79a080 100644 + protocols/dwl-ipc-unstable-v2.xml $@ +dwl-ipc-unstable-v2-protocol.c: + $(WAYLAND_SCANNER) private-code \ -+ protocols/dwl-ipc-unstable-v2.xml $@ ++ protocols/dwl-ipc-unstable-v2.xml $@ config.h: cp config.def.h $@ + clean: +- rm -f dwl *.o *-protocol.h ++ rm -f dwl *.o *-protocol.h *-protocol.c + + dist: clean + mkdir -p dwl-$(VERSION) diff --git a/config.def.h b/config.def.h -index 22d2171..1593033 100644 +index 13c5322..998c715 100644 --- a/config.def.h +++ b/config.def.h -@@ -127,6 +127,7 @@ static const Key keys[] = { - /* modifier key function argument */ - { MODKEY, XKB_KEY_p, spawn, {.v = menucmd} }, - { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_Return, spawn, {.v = termcmd} }, -+ { MODKEY, XKB_KEY_b, togglebar, {0} }, - { MODKEY, XKB_KEY_j, focusstack, {.i = +1} }, - { MODKEY, XKB_KEY_k, focusstack, {.i = -1} }, - { MODKEY, XKB_KEY_i, incnmaster, {.i = +1} }, +@@ -123,6 +123,7 @@ static const Key keys[] = { + /* modifier key function argument */ + { MODKEY, XKB_KEY_p, spawn, {.v = menucmd} }, + { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_Return, spawn, {.v = termcmd} }, ++ { MODKEY, XKB_KEY_b, togglebar, {0} }, + { MODKEY, XKB_KEY_j, focusstack, {.i = +1} }, + { MODKEY, XKB_KEY_k, focusstack, {.i = -1} }, + { MODKEY, XKB_KEY_i, incnmaster, {.i = +1} }, diff --git a/dwl.c b/dwl.c -index 8a587d1..7a4949b 100644 +index 4cfd0fd..d24fcb3 100644 --- a/dwl.c +++ b/dwl.c -@@ -68,6 +68,7 @@ - #include +@@ -76,6 +76,7 @@ #endif + #include "xdg-shell-protocol.h" +#include "dwl-ipc-unstable-v2-protocol.h" #include "util.h" /* macros */ -@@ -144,6 +145,12 @@ typedef struct { - uint32_t resize; /* configure serial of a pending resize */ +@@ -161,6 +162,12 @@ typedef struct { + int isfloating, isurgent, isfullscreen; } Client; +typedef struct { @@ -84,7 +83,7 @@ index 8a587d1..7a4949b 100644 typedef struct { uint32_t mod; xkb_keysym_t keysym; -@@ -189,6 +196,7 @@ typedef struct { +@@ -205,6 +212,7 @@ typedef struct { struct Monitor { struct wl_list link; @@ -92,8 +91,8 @@ index 8a587d1..7a4949b 100644 struct wlr_output *wlr_output; struct wlr_scene_output *scene_output; struct wlr_scene_rect *fullscreen_bg; /* See createmon() for info */ -@@ -286,6 +294,17 @@ static void destroysessionlock(struct wl_listener *listener, void *data); - static void destroysessionmgr(struct wl_listener *listener, void *data); +@@ -303,6 +311,17 @@ static void destroypointerconstraint(struct wl_listener *listener, void *data); + static void destroysessionlock(struct wl_listener *listener, void *data); static void destroykeyboardgroup(struct wl_listener *listener, void *data); static Monitor *dirtomon(enum wlr_direction dir); +static void dwl_ipc_manager_bind(struct wl_client *client, void *data, uint32_t version, uint32_t id); @@ -110,7 +109,7 @@ index 8a587d1..7a4949b 100644 static void focusclient(Client *c, int lift); static void focusmon(const Arg *arg); static void focusstack(const Arg *arg); -@@ -338,6 +357,7 @@ static void startdrag(struct wl_listener *listener, void *data); +@@ -355,6 +374,7 @@ static void startdrag(struct wl_listener *listener, void *data); static void tag(const Arg *arg); static void tagmon(const Arg *arg); static void tile(Monitor *m); @@ -118,9 +117,9 @@ index 8a587d1..7a4949b 100644 static void togglefloating(const Arg *arg); static void togglefullscreen(const Arg *arg); static void toggletag(const Arg *arg); -@@ -411,6 +431,9 @@ static struct wlr_box sgeom; - static struct wl_list mons; - static Monitor *selmon; +@@ -462,6 +482,9 @@ static struct wl_listener start_drag = {.notify = startdrag}; + static struct wl_listener new_session_lock = {.notify = locksession}; + static struct wl_listener new_foreign_toplevel_capture_request = {.notify = capturerequest}; +static struct zdwl_ipc_manager_v2_interface dwl_manager_implementation = {.release = dwl_ipc_manager_release, .get_output = dwl_ipc_manager_get_output}; +static struct zdwl_ipc_output_v2_interface dwl_output_implementation = {.release = dwl_ipc_output_release, .set_tags = dwl_ipc_output_set_tags, .set_layout = dwl_ipc_output_set_layout, .set_client_tags = dwl_ipc_output_set_client_tags}; @@ -128,7 +127,7 @@ index 8a587d1..7a4949b 100644 #ifdef XWAYLAND static void activatex11(struct wl_listener *listener, void *data); static void associatex11(struct wl_listener *listener, void *data); -@@ -703,6 +726,10 @@ cleanupmon(struct wl_listener *listener, void *data) +@@ -823,6 +846,10 @@ cleanupmon(struct wl_listener *listener, void *data) LayerSurface *l, *tmp; size_t i; @@ -139,7 +138,7 @@ index 8a587d1..7a4949b 100644 /* m->layers[i] are intentionally not unlinked */ for (i = 0; i < LENGTH(m->layers); i++) { wl_list_for_each_safe(l, tmp, &m->layers[i], link) -@@ -983,6 +1010,8 @@ createmon(struct wl_listener *listener, void *data) +@@ -1150,6 +1177,8 @@ createmon(struct wl_listener *listener, void *data) m = wlr_output->data = ecalloc(1, sizeof(*m)); m->wlr_output = wlr_output; @@ -148,7 +147,7 @@ index 8a587d1..7a4949b 100644 for (i = 0; i < LENGTH(m->layers); i++) wl_list_init(&m->layers[i]); -@@ -1334,6 +1363,192 @@ dirtomon(enum wlr_direction dir) +@@ -1504,6 +1533,199 @@ dirtomon(enum wlr_direction dir) return selmon; } @@ -218,13 +217,13 @@ index 8a587d1..7a4949b 100644 +{ + Monitor *monitor = ipc_output->mon; + Client *c, *focused; -+ int tagmask, state, numclients, focused_client, tag; ++ int tagmask, state, numclients, is_focused_client, tag; + const char *title, *appid; + focused = focustop(monitor); + zdwl_ipc_output_v2_send_active(ipc_output->resource, monitor == selmon); + + for (tag = 0 ; tag < TAGCOUNT; tag++) { -+ numclients = state = focused_client = 0; ++ numclients = state = is_focused_client = 0; + tagmask = 1 << tag; + if ((tagmask & monitor->tagset[monitor->seltags]) != 0) + state |= ZDWL_IPC_OUTPUT_V2_TAG_STATE_ACTIVE; @@ -235,13 +234,13 @@ index 8a587d1..7a4949b 100644 + if (!(c->tags & tagmask)) + continue; + if (c == focused) -+ focused_client = 1; ++ is_focused_client = 1; + if (c->isurgent) + state |= ZDWL_IPC_OUTPUT_V2_TAG_STATE_URGENT; + + numclients++; + } -+ zdwl_ipc_output_v2_send_tag(ipc_output->resource, tag, state, numclients, focused_client); ++ zdwl_ipc_output_v2_send_tag(ipc_output->resource, tag, state, numclients, is_focused_client); + } + title = focused ? client_get_title(focused) : ""; + appid = focused ? client_get_appid(focused) : ""; @@ -256,6 +255,13 @@ index 8a587d1..7a4949b 100644 + if (wl_resource_get_version(ipc_output->resource) >= ZDWL_IPC_OUTPUT_V2_FLOATING_SINCE_VERSION) { + zdwl_ipc_output_v2_send_floating(ipc_output->resource, focused ? focused->isfloating : 0); + } ++ if (wl_resource_get_version(ipc_output->resource) >= ZDWL_IPC_OUTPUT_V2_FULLSCREEN_SINCE_VERSION) { ++ zdwl_ipc_output_v2_send_focused_geometry(ipc_output->resource, ++ focused ? focused->geom.x : 0, ++ focused ? focused->geom.y : 0, ++ focused ? focused->geom.width : 0, ++ focused ? focused->geom.height : 0); ++ } + zdwl_ipc_output_v2_send_frame(ipc_output->resource); +} + @@ -341,13 +347,13 @@ index 8a587d1..7a4949b 100644 void focusclient(Client *c, int lift) { -@@ -2033,38 +2248,9 @@ void +@@ -2257,38 +2479,9 @@ void printstatus(void) { Monitor *m = NULL; - Client *c; - uint32_t occ, urg, sel; - +- - wl_list_for_each(m, &mons, link) { - occ = urg = 0; - wl_list_for_each(c, &clients, link) { @@ -370,7 +376,7 @@ index 8a587d1..7a4949b 100644 - printf("%s floating \n", m->wlr_output->name); - sel = 0; - } -- + - printf("%s selmon %u\n", m->wlr_output->name, m == selmon); - printf("%s tags %"PRIu32" %"PRIu32" %"PRIu32" %"PRIu32"\n", - m->wlr_output->name, occ, m->tagset[m->seltags], sel, urg); @@ -382,16 +388,18 @@ index 8a587d1..7a4949b 100644 } void -@@ -2584,6 +2770,8 @@ setup(void) - LISTEN_STATIC(&output_mgr->events.apply, outputmgrapply); - LISTEN_STATIC(&output_mgr->events.test, outputmgrtest); +@@ -2816,6 +3009,10 @@ setup(void) + text_input_manager = wlr_text_input_manager_v3_create(dpy); + input_method_relay = input_method_relay_create(); ++ wl_global_create(dpy, &zdwl_ipc_manager_v2_interface, 2, NULL, dwl_ipc_manager_bind); ++ + wl_global_create(dpy, &zdwl_ipc_manager_v2_interface, 2, NULL, dwl_ipc_manager_bind); + /* Make sure XWayland clients don't connect to the parent X server, * e.g when running in the x11 backend or the wayland backend and the * compositor has Xwayland support */ -@@ -2681,6 +2869,13 @@ tile(Monitor *m) +@@ -2913,6 +3110,13 @@ tile(Monitor *m) } } @@ -407,10 +415,10 @@ index 8a587d1..7a4949b 100644 { diff --git a/protocols/dwl-ipc-unstable-v2.xml b/protocols/dwl-ipc-unstable-v2.xml new file mode 100644 -index 0000000..0a6e7e5 +index 0000000..07cc1c2 --- /dev/null +++ b/protocols/dwl-ipc-unstable-v2.xml -@@ -0,0 +1,181 @@ +@@ -0,0 +1,191 @@ + + @@ -590,8 +598,18 @@ index 0000000..0a6e7e5 + + + ++ ++ ++ ++ Sends the focused client's geometry (x, y, width, and height) to the client. ++ ++ ++ ++ ++ ++ + + -- -2.43.0 +2.55.0 diff --git a/stale-patches/ipc/ipcpertag.patch b/patches/ipc/ipcpertag.patch similarity index 86% rename from stale-patches/ipc/ipcpertag.patch rename to patches/ipc/ipcpertag.patch index 97e3c33..6efc1b8 100644 --- a/stale-patches/ipc/ipcpertag.patch +++ b/patches/ipc/ipcpertag.patch @@ -1,17 +1,17 @@ -From c7d77ff4dec1da5a68b4da8aa42d4ed78dc41a00 Mon Sep 17 00:00:00 2001 -From: choc -Date: Thu, 14 Mar 2024 11:18:37 +0800 -Subject: [PATCH] fix ipc to work with pertag +From 90a2d3941de8842074157a7144c901eb316ba0e2 Mon Sep 17 00:00:00 2001 +From: julmajustus +Date: Sun, 20 Sep 2026 02:04:17 +0300 +Subject: [PATCH] ipcpertag init --- dwl.c | 50 +++++++++++++++++++++++++++++++++++--------------- 1 file changed, 35 insertions(+), 15 deletions(-) diff --git a/dwl.c b/dwl.c -index a1a7809..d86e6e2 100644 +index d24fcb3..b43843e 100644 --- a/dwl.c +++ b/dwl.c -@@ -1526,28 +1526,37 @@ void +@@ -1679,28 +1679,37 @@ void dwl_ipc_output_set_layout(struct wl_client *client, struct wl_resource *resource, uint32_t index) { DwlIpcOutput *ipc_output; @@ -57,7 +57,7 @@ index a1a7809..d86e6e2 100644 unsigned int newtags = tagmask & TAGMASK; ipc_output = wl_resource_get_user_data(resource); -@@ -1555,16 +1564,27 @@ dwl_ipc_output_set_tags(struct wl_client *client, struct wl_resource *resource, +@@ -1708,16 +1717,27 @@ dwl_ipc_output_set_tags(struct wl_client *client, struct wl_resource *resource, return; monitor = ipc_output->mon; @@ -93,5 +93,5 @@ index a1a7809..d86e6e2 100644 void -- -2.43.0 +2.55.0 diff --git a/stale-patches/ipc/README.md b/stale-patches/ipc/README.md deleted file mode 100644 index bf648a4..0000000 --- a/stale-patches/ipc/README.md +++ /dev/null @@ -1,28 +0,0 @@ -### Description -Largely based on [raphi](https://sr.ht/~raphi/)'s [somebar](https://sr.ht/~raphi/somebar/), this patch provides an ipc for wayland clients to get and set dwl state. The ipc is intended for status bars, but can also be scripted with tools like [dwlmsg](https://codeberg.org/notchoc/dwlmsg). - -Status information to stdout is currently disabled as dwl tends to freeze. For now, `dwlmsg -w` should act as a drop-in replacement. - -Note to [pertag](../pertag/) users: apply [this](./ipcpertag.patch) for ipc tagsetting to work as expected - -### Download -- [git branch](https://codeberg.org/notchoc/dwl/src/branch/ipc) -- [2024-08-16](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/ipc/ipc.patch) -- [2024-07-29](https://codeberg.org/dwl/dwl-patches/raw/commit/d235f0f88ed069eca234da5a544fb1c6e19f1d33/patches/ipc/ipc.patch) don't focus other outputs (apply [this minipatch](./focus-tagset-output.patch) if you'd prefer that) -- [2024-07-16](https://codeberg.org/dwl/dwl-patches/raw/commit/642b2559d522034785c1c1203c6d426855ec19ca/patches/ipc/ipc.patch) -- [2024-06-30](https://codeberg.org/dwl/dwl-patches/raw/commit/9a751e5020133d3ab9219e68a43109c6f3c931a7/patches/ipc/ipc.patch) -- [2024-06-21](https://codeberg.org/dwl/dwl-patches/raw/commit/f96ee44cbaef06bd38b8fa29ac7ecba8b1b5abd5/patches/ipc/ipc.patch) -- [2024-06-19](https://codeberg.org/dwl/dwl-patches/raw/commit/e69afc7263b8d982a7923e5d4910f2e1f7140bb8/patches/ipc/ipc.patch) -- [2024-06-08](https://codeberg.org/dwl/dwl-patches/raw/commit/f8598a91b44acc3bd7e9041be97265bbce8fa219/patches/ipc/ipc.patch) -- [2024-03-13](https://codeberg.org/dwl/dwl-patches/raw/commit/0150cfebbcd85f2d6e6728afad345a11a0c45947/ipc/ipc.patch) -- [2024-02-20](https://codeberg.org/dwl/dwl-patches/raw/commit/0c5ae06e4bc1d7f641376e8fcb86b43bd48ce2ee/ipc/ipc.patch) -- [2023-10-28](https://gist.githubusercontent.com/fbushstone/b116c44340eb7a7878de1119dd931ca5/raw/ee66ac9e2a5dddd9b528df553e21080c2811e974/ipc-v2-fixed.patch) Updated version of 2023-04-29, prevents ipc from freezing the compositor in printstatus. -- [2023-04-29](https://github.com/djpohly/dwl/compare/main...madcowog:ipc-v2.patch) Use this for dwl-ipc-unstable-v2. If you are using commit [9d68554](https://github.com/djpohly/dwl/commit/9d68554c59a886b641d27a364884fb461af2d4f1) or later, use this. For status bars this protocol is supported by dwlb, Waybar and dwl-bar. -- [2023-04-29](https://github.com/djpohly/dwl/compare/main...madcowog:ipc-bbdf2.patch) Use this for dwl-ipc-unstable-v1. If you are using commit [bbdaf2a9](https://github.com/djpohly/dwl/commit/bbdf2a913b72e7a308ee0dfde6518a4285d4a775), [release 0.4](https://github.com/djpohly/dwl/releases/tag/v0.4) or earlier, use this. For status bars, this protocol is supported by dwl-bar. -- [2023-02-20](https://lists.sr.ht/~raphi/public-inbox/patches/39166) Use this for net-tapesoftware-dwl-wm-unstable-v1. If you are using commit [c69a2bec](https://github.com/djpohly/dwl/commit/c69a2bec3ff417fbc4ea8fec0a49096773e01e7d) or later, use this. For status bars this protocol is supported by somebar. - -### Authors -- [MadcowOG](https://github.com/MadcowOG) -- [fbushstone](https://github.com/fbushstone) -- [notchoc](https://codeberg.org/notchoc) -- [snuk](https://codeberg.org/snuk)