From patchwork Mon Dec 12 12:56:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: florhizome X-Patchwork-Id: 45192 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 425CA27BBEC; Mon, 12 Dec 2022 12:57:23 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id DC23427BBE9 for ; Mon, 12 Dec 2022 12:57:18 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p4iMk-0007gg-Rg; Mon, 12 Dec 2022 07:57:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p4iMi-0007gH-KA for guix-patches@gnu.org; Mon, 12 Dec 2022 07:57:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p4iMg-0000AE-9s for guix-patches@gnu.org; Mon, 12 Dec 2022 07:57:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p4iMg-0006Sy-5p for guix-patches@gnu.org; Mon, 12 Dec 2022 07:57:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60005] [PATCH] gnu: Add swaynotificationcenter Resent-From: florhizome@posteo.net Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 12 Dec 2022 12:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 60005 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60005@debbugs.gnu.org Cc: florhizome X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167084981624845 (code B ref -1); Mon, 12 Dec 2022 12:57:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 Dec 2022 12:56:56 +0000 Received: from localhost ([127.0.0.1]:52802 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4iMa-0006Sf-3p for submit@debbugs.gnu.org; Mon, 12 Dec 2022 07:56:56 -0500 Received: from lists.gnu.org ([209.51.188.17]:45632) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4iMW-0006SX-T4 for submit@debbugs.gnu.org; Mon, 12 Dec 2022 07:56:54 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p4iMU-0007di-Ko for guix-patches@gnu.org; Mon, 12 Dec 2022 07:56:52 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p4iMS-0008Ik-F8 for guix-patches@gnu.org; Mon, 12 Dec 2022 07:56:50 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 67D62240026 for ; Mon, 12 Dec 2022 13:56:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1670849806; bh=zFdCBnTvSNh/HuYQBGfpkNGm1cM5RNhX+sp72/2fC3c=; h=From:To:Cc:Subject:Date:From; b=ebJ3Vd+DPUESVxeR0JhlKvlXL3jrLXEOGZjT/KPLYY9ERG1xyYtAjZ/1K7VwSFHhF Lw12x1DLNEGR1qNvmzg9ycIUOzwePfstTIhYMcIfCib5wUnu8Oybx4Ha235OWFpHfM m42eNk0c8FcSTqdbdLY63fL6jTScCGO18YH2EV0XHzbvrQsF9e22Pbpn7+brFIvGGq BxTM7PaEpqYNbdgA0d2nWFRkFCHa7bTpIV7GYCVrd5TCip9W5fwdnJ8qZVr9ofExuY fplHn77RiTzkiXBj9SB+Uhy2Km0kIKAnpZJe0xBUvEUvRYIaDCYGIxlZ76LRbL8/T3 X8eeyBimsP3IA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NW1q20Kr5z6tmK; Mon, 12 Dec 2022 13:56:46 +0100 (CET) From: florhizome@posteo.net Date: Mon, 12 Dec 2022 12:56:43 +0000 Message-Id: <8212c708047fca6676c6072d807794c4b2b49f9f.1670849754.git.florhizome@posteo.net> MIME-Version: 1.0 Received-SPF: pass client-ip=185.67.36.65; envelope-from=florhizome@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From: florhizome * gnu/packages/wm.scm (swaynotificationcenter): New variable. --- gnu/packages/wm.scm | 50 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) base-commit: 0ce1f82e5aaac951b21d579eb46bf75cfe6713c0 prerequisite-patch-id: 36ae907c0ae2cbc001f774c0514ab217855270c2 prerequisite-patch-id: f85768858f3a8b1ef44b6e355dcd7f9254c07d24 prerequisite-patch-id: 2c99b804c1a929fc9d74b4c3d92263cbd296f785 prerequisite-patch-id: 2525aea715c2eb5be5f61e2e14296a36898413ca prerequisite-patch-id: f7afbf36e2776eced1e69090ec127a40456efca4 prerequisite-patch-id: ba73cf06ab2610e36d03df1f6b6a1c4b8f271cda prerequisite-patch-id: 9ac4b32603488e776af63831ff13406c649a8686 prerequisite-patch-id: 1cec3e6ed7a13938c53c24f816056d98b2b005c7 prerequisite-patch-id: 011ca6e0eaf4ea7077787d7030f193836c30aa82 prerequisite-patch-id: 4243cf3f6370445e6d583f03231e87921f541cc2 prerequisite-patch-id: 6c88bfec7b2fa53face9523329de4a9102149772 prerequisite-patch-id: d1bed6e8da46c3d6f4017546f7a00c001e814fe1 prerequisite-patch-id: 1ff1bcd9503a2b38ca7cc59ebdcebb45f970cf1a prerequisite-patch-id: 4aa5ec94c128f5b6b6b6709c25baa49fffa571f6 prerequisite-patch-id: cb8f4f83e84db03ffa3c6be6c6b0df2ef0b59422 diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index 042a878257..86573658f4 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -1724,6 +1724,56 @@ (define-public swaybg (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)))) + (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 "A simple notification daemon with a GTK gui built for + Notifications and the control center") + (description "Features +@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")