summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"))))))