summaryrefslogtreecommitdiff
path: root/modules/tanelorn/packages
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-12-10 19:22:57 -0500
committerbd <bdunahu@operationnull.com>2025-12-10 19:22:57 -0500
commitfd648436d70628a693b44e46811f28b9d8971460 (patch)
tree81ae0e64974dfb2265a34183cdc8bdfeb4c6f55a /modules/tanelorn/packages
parente769e0f335efb7c6a9318c111f6b8fed45a60e3c (diff)
gnu: Add eww/x11.
* modules/tanelorn/packages/wm.scm (eww/x11): New variable.
Diffstat (limited to 'modules/tanelorn/packages')
-rw-r--r--modules/tanelorn/packages/wm.scm14
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/tanelorn/packages/wm.scm b/modules/tanelorn/packages/wm.scm
index a49c299..45a34e9 100644
--- a/modules/tanelorn/packages/wm.scm
+++ b/modules/tanelorn/packages/wm.scm
@@ -8,6 +8,7 @@
#:use-module (guix git-download)
#:use-module (guix gexp)
#:use-module (guix packages)
+ #:use-module (guix utils)
#:use-module (tanelorn packages)
#:use-module (tanelorn packages rust-crates)
#:use-module (gnu packages glib)
@@ -56,3 +57,16 @@ that allows you to implement your own, custom widgets in any window manager.
Configured in yuck, a language based around S-expressions and themed using CSS,
it is easy to customize and provides all the flexibility you need.")
(license license:expat))))
+
+(define-public eww/x11
+ (package/inherit eww
+ (name "eww-x11")
+ (inputs (modify-inputs (package-inputs eww)
+ (delete "gtk-layer-shell")))
+ (arguments
+ (substitute-keyword-arguments (package-arguments eww)
+ ((#:cargo-test-flags flags ''())
+ `(cons* "--features=x11"
+ ,flags))
+ ((#:features _ ''())
+ `(list "x11"))))))