summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-12-10 19:24:28 -0500
committerbd <bdunahu@operationnull.com>2025-12-10 19:39:10 -0500
commitaa3d93214761b83674db0d27a513fe86572fb10d (patch)
tree081655a9b5c3ac11f116a1edc538c5deebdac1ce
parentfd648436d70628a693b44e46811f28b9d8971460 (diff)
gnu: Add eww/wayland.
* modules/tanelorn/packages/wm.scm (eww/wayland): New variable. * README: Add eww/x11 and eww/wayland.
-rw-r--r--README2
-rw-r--r--modules/tanelorn/packages/wm.scm11
2 files changed, 12 insertions, 1 deletions
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"))))))