diff options
author | Zheng Junjie <zhengjunjie@iscas.ac.cn> | 2024-02-25 14:47:39 +0800 |
---|---|---|
committer | 宋文武 <iyzsong@member.fsf.org> | 2024-03-19 18:42:14 +0800 |
commit | d67b764ceb0da86a198ef692b162c80090f43af7 (patch) | |
tree | 99557f915c1cb1cec5dc2a2e0b5d3a26dc3d3de9 /gnu/packages/wm.scm | |
parent | 8a4ed004d6b0720f47fc6ef5f0247a66a42a2f7c (diff) | |
download | guix-d67b764ceb0da86a198ef692b162c80090f43af7.tar.gz guix-d67b764ceb0da86a198ef692b162c80090f43af7.zip |
gnu: Add wmenu.
* gnu/packages/wm.scm (wmenu): New variable.
Change-Id: I7395a23801471fba6a22a1b44f6c9a19dddd894e
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
Diffstat (limited to 'gnu/packages/wm.scm')
-rw-r--r-- | gnu/packages/wm.scm | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index 906b7d844c..d76f92c5ed 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -1759,6 +1759,35 @@ modules for building a Wayland compositor.") (propagated-inputs (modify-inputs (package-propagated-inputs wlroots) (delete libdisplay-info))))) +(define-public wmenu + (package + (name "wmenu") + (version "0.1.7") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://git.sr.ht/~adnano/wmenu") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0wjn68r5cx4zvw7sby6sk2ip5h4fn0jbgb1nasm9nsgjpv63pnpm")))) + (build-system meson-build-system) + (native-inputs (append (if (%current-target-system) + ;; for wayland-scanner + (list pkg-config-for-build + wayland) + '()) + (list pkg-config scdoc))) + (inputs (list cairo pango wayland libxkbcommon wayland-protocols)) + (home-page "https://git.sr.ht/~adnano/wmenu") + (synopsis "Dynamic menu for Wayland") + (description "@command{wmenu} is a dynamic menu for Wayland, which reads a list +of newline-separated items from stdin. When the user selects an item and presses +Return, their choice is printed to stdout and wmenu terminates. Entering text will +narrow the items to those matching the tokens in the input.") + (license license:expat))) + (define-public sway (package (name "sway") |