From patchwork Tue Apr 1 07:34:41 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Wong X-Patchwork-Id: 41118 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 F3CED27BBEA; Tue, 1 Apr 2025 08:55:15 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, 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 D1ED927BBE2 for ; Tue, 1 Apr 2025 08:55:14 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tzWSi-0004B0-Le; Tue, 01 Apr 2025 03:55:08 -0400 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 1tzWSg-0004AV-EZ for guix-patches@gnu.org; Tue, 01 Apr 2025 03:55:06 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tzWSg-00048i-3U for guix-patches@gnu.org; Tue, 01 Apr 2025 03:55:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=k277+Tl24pUBm6ltaen0sQ1iEsdd9kxAG82VfAL8P5Q=; b=fqthUBBRUP1xZcbeqU89s57P7LCl15147ZlFWn7Hf/M5yp9Oq0SYsf47/28HQeAofXVrox//Fk6etA86Djm2WLu3UahkwdCXWsW9xlnqIc/CAsUbQcsCEYh9WPJtjTBjZgb8GDkC2tf/Gy3PTdCHAcLs3aeIbygqWm/qorEPM4tB1nxifl3noZskRZ2G0dMvvPXQiE5kOpQWr2Duo86LsENSxIX9w6k850LKLgqk2Z7W0y2qHChZcy7tZhRq+u+Qr6kZxE4HS1PV1zbgAyBe8wujebkS9t5iEd6sJKO3k+QAiVjrrfry4JoCBvVKms5J09V54OyqdiCLKmEcvPDojw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tzWSf-0005tM-Ts for guix-patches@gnu.org; Tue, 01 Apr 2025 03:55:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#76910] [PATCH v3 4/5] gnu: Add hypr-darkwindow. Resent-From: Andrew Wong Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 01 Apr 2025 07:55:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 76910 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 76910@debbugs.gnu.org Cc: Andrew Wong Received: via spool by 76910-submit@debbugs.gnu.org id=B76910.174349405222223 (code B ref 76910); Tue, 01 Apr 2025 07:55:05 +0000 Received: (at 76910) by debbugs.gnu.org; 1 Apr 2025 07:54:12 +0000 Received: from localhost ([127.0.0.1]:45025 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tzWRo-0005mI-5E for submit@debbugs.gnu.org; Tue, 01 Apr 2025 03:54:12 -0400 Received: from qs51p00im-qukt01080302.me.com ([17.57.155.21]:25043) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tzWRj-0005l7-VJ for 76910@debbugs.gnu.org; Tue, 01 Apr 2025 03:54:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; bh=k277+Tl24pUBm6ltaen0sQ1iEsdd9kxAG82VfAL8P5Q=; h=From:To:Subject:Date:Message-ID:MIME-Version:x-icloud-hme; b=r/pmVOeDEpO7PqBd/aXGL64yv9ceuRrocsHTWFXQyO88PjBHrBoEUrwiJkxJZqKa7 7IuSbmJ0dR/5yjthGCbkPmPt+z6eXlfJ2bl/dKKJmIBNGXodHCXMD7fmFuFrD1D9pc pNWpJ3oNdsRMNJsRDgyw10uaGxaKzHJyaR9DwewmI4gpnJdLnb8nomO3b/yytadSeK 98CYS4dvGACiUGMQjrDgp76ZG01SPCF6WXk/BBXiQoHqcTsM9cCkCRNPRKIXNpfkgG is9+kHdiGNJPoZ9aUWW2Dn2donZHiokRTJ17FEPq2sniMk6vowfWgW4KfZtHkr2Oti B//X6IfN7O/9g== Received: from wongworks.lan (qs51p00im-dlb-asmtp-mailmevip.me.com [17.57.155.28]) by qs51p00im-qukt01080302.me.com (Postfix) with ESMTPSA id 201D61140259; Tue, 1 Apr 2025 07:54:00 +0000 (UTC) Date: Tue, 1 Apr 2025 03:34:41 -0400 Message-ID: <9299aa751f75e6b631eff5e24a03ea59c646bfd6.1743492882.git.wongandj@icloud.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: References: MIME-Version: 1.0 X-Proofpoint-GUID: S9alRqyKjWI4qZjp9gubBWyA7zLFqR-u X-Proofpoint-ORIG-GUID: S9alRqyKjWI4qZjp9gubBWyA7zLFqR-u X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1095,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-04-01_03,2025-03-27_02,2024-11-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 bulkscore=0 suspectscore=0 mlxscore=0 phishscore=0 clxscore=1015 mlxlogscore=999 adultscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2308100000 definitions=main-2504010051 X-Apple-Remote-Links: v=1;h=KCk=;charset=UTF-8 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: , Reply-to: Andrew Wong X-ACL-Warn: , Andrew Wong via Guix-patches X-Patchwork-Original-From: Andrew Wong via Guix-patches via From: Andrew Wong 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 * gnu/packages/wm.scm (hypr-darkwindow): New variable. Change-Id: Ide445c85047e17b5817580bde896a6c303e6a4cd --- gnu/packages/wm.scm | 47 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index 399075e668..537150e138 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -610,6 +610,53 @@ (define-public hy3 including node-based window manipulation and optional autotiling.") (license license:gpl3)))) +(define-public hypr-darkwindow + (let ((commit "2d2e7ebac5c52cb23f3cbf06052ceba47a73802d")) + (package + (name "hypr-darkwindow") + (version (git-version "0.48.1" "0" commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/micha4w/Hypr-DarkWindow") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0avrc6bcgynvb0j5hw3fh585n971kxrk8bfgwpng6d5m6flav26z")))) + (build-system gnu-build-system) + (native-inputs (list gcc-14 pkg-config)) + (inputs (list aquamarine + eudev + hyprgraphics + hyprlang + hyprutils + libdrm + libinput + libxkbcommon + mesa + pango + pixman + wayland + hyprland)) + (arguments + (list + #:tests? #f + #:phases + #~(modify-phases %standard-phases + (delete 'configure) + (replace 'install + (lambda* _ + (install-file "out/hypr-darkwindow.so" + (string-append #$output "/lib"))))))) + (home-page "https://github.com/micha4w/Hypr-DarkWindow") + (synopsis "Hyprland plugin that provides window color inversion") + (description + "This plugin adds the dispatchers @code{invertwindow WINDOW} +and @code{invertactivewindow}, which invert the colors of the indicated +window.") + (license license:expat)))) + (define-public i3status (package (name "i3status")