(address . guix-patches@gnu.org)
Tested on sway session.
* gnu/packages/xdisorg.scm (rofi-wayland): New variable.
---
gnu/packages/xdisorg.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Toggle diff (55 lines)
diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index ec995c3496..c2bd1d1d5c 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -53,6 +53,7 @@
;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
;;; Copyright © 2021 jgart <jgart@dismail.de>
;;; Copyright © 2022 John Kehayias <john.kehayias@protonmail.com>
+;;; Copyright © 2022 Andrew Tropin <andrew@trop.in>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1742,6 +1743,40 @@ (define-public rofi
by name.")
(license license:expat)))
+(define-public rofi-wayland
+ (package
+ (inherit rofi)
+ (name "rofi-wayland")
+ (version "1.7.2+wayland1")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/lbonn/rofi"
+ "/releases/download/"
+ version "/rofi-" version ".tar.xz"))
+ (sha256
+ (base32
+ "1smrxjq693z48c7n5pcfrvb0m0vsn6pxn7qpn8bm68j942n8rg3x"))))
+ (build-system meson-build-system)
+ (arguments
+ (substitute-keyword-arguments (package-arguments rofi)
+ ((#:configure-flags flags '())
+ #~(list "-Dxcb=disabled"))))
+ (inputs
+ (list cairo
+ glib
+ libjpeg-turbo
+ librsvg
+ libxkbcommon
+ wayland
+ wayland-protocols
+ pango
+ startup-notification))
+ (description "Rofi is a minimalist application launcher. It memorizes which
+applications you regularly use and also allows you to search for an application
+by name.
+
+This is a fork with added support for Wayland via layer shell protocol.")))
+
(define-public rofi-calc
(package
(name "rofi-calc")
--
2.34.0
-----BEGIN PGP SIGNATURE-----
iQJDBAEBCgAtFiEEKEGaxlA4dEDH6S/6IgjSCVjB3rAFAmH6JCkPHGFuZHJld0B0
cm9wLmluAAoJECII0glYwd6w1ngP/jbw0rES6pKmxpqYhUkyUgihmk0qXFETCONv
iijR4J9WVWhrF2W3IstAPbR8RniW20ECGgkpzonoT7Jbw90D6Z56S2+++/WTvvHO
RJ4DYlIVgmONutfopNvvmmNqI8FVIjI3CLJFWjUECyzdUY5tgU2L3UGhPUhD8QFL
aZO9yW7NV07VDrzIaTDlApsGrRGWmo/0WTVpPIuTwlt/f9hdyeMHhYXq6K+V/KxV
ikVsjrMEMwg9HydjD5mQfmBHeE2Jk6zOJ6CbRQG4KFMdnTVx4cZaahqxfacSVTHB
pyN+lJ4+oKZWT9lYc8871L8/8gceRJ7Y6UtrDzRxF0SJPaRE324HHaKC52KxJCSP
yVkvidU1o8JWVZ/3sHOD+ORGKM6KWnMx4uWI9q5Ye/uOw8Ltz8HBFInZYwgQA7IK
ZsuRHt2xTrGbnrwyoSNP1aOYLH0BaGeXEQDMMOlaLrxoXwdhQrM7sXZKk3PLSZ2v
dc74SyQPLksqQSJ6uObjB1O5VI4W2VRZkez8UAKMyiAyrflOdNa2hNemjtFD+bjr
1BEZWl9w33kRkaos6eCBDx2fA6Baa/lqmY1PYa1HCaRl72cunQIJ/nFXJ/SDZK3O
lAvp8xVj0krMVJVsQSwVj8lCI6zi3n+Dbg2l7DIG1rtsCzJ5Ot8hgMj26O5w0Lh3
8ouFHc1G
=3Bqk
-----END PGP SIGNATURE-----