diff options
author | florhizome <florhizome@posteo.net> | 2022-12-12 12:56:43 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2023-01-17 16:05:21 +0100 |
commit | f2deb6c18a023caa4b023627a156e331003d416f (patch) | |
tree | 9c98df58614d581e16e89a7ed3cbcf522615a4a4 | |
parent | 37916ba175acbdc859c4aa47a4b49d9e7988ba6f (diff) | |
download | guix-f2deb6c18a023caa4b023627a156e331003d416f.tar.gz |
gnu: Add swaynotificationcenter
* gnu/packages/wm.scm (swaynotificationcenter): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r-- | gnu/packages/wm.scm | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index a13467663e..9a18580753 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -1722,6 +1722,57 @@ display a clock or apply image manipulation techniques to the background image." (description "Swaybg is a wallpaper utility for Wayland compositors.") (license license:expat))) ; MIT license + +(define-public swaynotificationcenter + (package + (name "swaynotificationcenter") + (version "0.7.3") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ErikReider/SwayNotificationCenter") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1xvr5m5sqznr3dd512i5pk0d56v7n0ywdcy6rnz85vbf2k7b6kj5")))) + (build-system meson-build-system) + (arguments (list #:configure-flags #~(list "-Dsystemd-service=false"))) + (native-inputs + (list `(,glib "bin") + gobject-introspection + pkg-config + python-minimal + scdoc + vala-next)) + (inputs + (list json-glib + glib + gtk+ + gtk-layer-shell + libhandy + wayland-protocols)) + (synopsis "Notification daemon with a graphical interface") + (description + "This package provides a notification daemon for the Sway Wayland +compository, supporting the following featuers: + +@itemize +@item Keyboard shortcuts +@item Notification body markup with image support +@item A panel to view previous notifications +@item Show album art for notifications like Spotify +@item Do not disturb +@item Click notification to execute default action +@item Show alternative notification actions +@item Customization through a CSS file +@item Trackpad/mouse gesture to close notification +@item The same features as any other basic notification daemon +@item Basic configuration through a JSON config file +@item Hot-reload config through swaync-client +@end itemize") + (home-page "https://github.com/ErikReider/SwayNotificationCenter") + (license license:expat))) + (define-public waybar (package (name "waybar") |