From aa3d93214761b83674db0d27a513fe86572fb10d Mon Sep 17 00:00:00 2001 From: bd Date: Wed, 10 Dec 2025 19:24:28 -0500 Subject: gnu: Add eww/wayland. * modules/tanelorn/packages/wm.scm (eww/wayland): New variable. * README: Add eww/x11 and eww/wayland. --- README | 2 +- modules/tanelorn/packages/wm.scm | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/README b/README index 009e30d..d7d3c6f 100644 --- a/README +++ b/README @@ -13,6 +13,6 @@ The packages and services found here are optionally free for anyone to use, unde - *Window Managers*: - - eww + - eww (x11 and wayland variants) ** Services diff --git a/modules/tanelorn/packages/wm.scm b/modules/tanelorn/packages/wm.scm index 45a34e9..c61edc8 100644 --- a/modules/tanelorn/packages/wm.scm +++ b/modules/tanelorn/packages/wm.scm @@ -70,3 +70,14 @@ it is easy to customize and provides all the flexibility you need.") ,flags)) ((#:features _ ''()) `(list "x11")))))) + +(define-public eww/wayland + (package/inherit eww + (name "eww-wayland") + (arguments + (substitute-keyword-arguments (package-arguments eww) + ((#:cargo-test-flags flags ''()) + `(cons* "--features=wayland" + ,flags)) + ((#:features _ ''()) + `(list "wayland")))))) -- cgit v1.2.3