From patchwork Sat Mar 29 08:32:46 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Wong X-Patchwork-Id: 40947 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 1657C27BBEA; Sat, 29 Mar 2025 08:35:43 +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=-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 A497327BBE2 for ; Sat, 29 Mar 2025 08:35:42 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tyRel-0002RL-QP; Sat, 29 Mar 2025 04:35:07 -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 1tyRei-0002OB-7m for guix-patches@gnu.org; Sat, 29 Mar 2025 04:35:04 -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 1tyReh-0000u2-LL for guix-patches@gnu.org; Sat, 29 Mar 2025 04:35:03 -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=GSrDcSprjE7dIgFpRtsWgxjWU6cJpuLlvI7Qb7dqmSM=; b=lumFzmFP6m8HjigxWkfdtw3Fgt+I3Y28Ve9i6GDjjL4gzbmzrEXt7hMmnhl4923hUg3DySouEktS7uZ7UPCQKQNOClSWe8NgbIivWNMkUZcWpSUmT9FY/XHv6GdZrqQVntFW69n09HT4Sjme1C5vgl2M9k8IsP+a3kANoqs6l/o0csWJGa0sT0goUrFPJWQQcox/evi9WCLonYA7OH+1Guy0KundNep/E62kyrqXBPxuADTr/8IZEeW+OigxvqOsW3cWYHn0Xk6m9C/nZOilC8x3cgMc+SDH0818yfDumoAw8QMon6y5etDdWNAzB0FMyXFKttVxARWLmVEAh29w6g==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tyReh-0001Qt-Ex for guix-patches@gnu.org; Sat, 29 Mar 2025 04:35:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#76910] [PATCH v2 2/4] gnu: Add hyprscroller. Resent-From: Andrew Wong Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 29 Mar 2025 08:35:03 +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.17432372895433 (code B ref 76910); Sat, 29 Mar 2025 08:35:03 +0000 Received: (at 76910) by debbugs.gnu.org; 29 Mar 2025 08:34:49 +0000 Received: from localhost ([127.0.0.1]:56719 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tyReT-0001PT-7s for submit@debbugs.gnu.org; Sat, 29 Mar 2025 04:34:49 -0400 Received: from qs51p00im-qukt01080501.me.com ([17.57.155.22]:37373) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tyReL-0001OX-1h for 76910@debbugs.gnu.org; Sat, 29 Mar 2025 04:34:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; bh=GSrDcSprjE7dIgFpRtsWgxjWU6cJpuLlvI7Qb7dqmSM=; h=From:To:Subject:Date:Message-ID:MIME-Version:x-icloud-hme; b=qRq7crKF+wxkWsauIQgpRvTSgkzDGuEOt5kZpE68rVuXVZotq/EGCsYipqjJPu9Kw uL/emU6mdOCEUgR0Qj0S0tCCYOIj/iN7q9vWNn4uqQV3cK7I4piHu3sPt4uChupmQ5 hWfFGogmG9THDC/DIuB0zv790997go5IYOwFfeMe2eR1VQ8L+BRx5zNbzliuzxge2J xnd6Eh4rPDtiWqSr8H3SS4L3qEScrYqAb5VeIa11ykSnScSKtb30fv7M7YKa2mWino S4btaxhntnXF57qaIoj2DQfn2sQswI/5/ANDV+3/N4rTio7SWX8R97VdmxTWms4k3u hejAIEwAAaggg== Received: from wongworks.lan (qs51p00im-dlb-asmtp-mailmevip.me.com [17.57.155.28]) by qs51p00im-qukt01080501.me.com (Postfix) with ESMTPSA id D90381980196; Sat, 29 Mar 2025 08:34:34 +0000 (UTC) Date: Sat, 29 Mar 2025 04:32:46 -0400 Message-ID: X-Mailer: git-send-email 2.49.0 In-Reply-To: References: MIME-Version: 1.0 X-Proofpoint-GUID: HF4yLT-uXc0kgauWT6VNYL-seEvPqMYT X-Proofpoint-ORIG-GUID: HF4yLT-uXc0kgauWT6VNYL-seEvPqMYT X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1095,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-03-29_01,2025-03-27_02,2024-11-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 suspectscore=0 clxscore=1015 mlxlogscore=999 malwarescore=0 mlxscore=0 spamscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2411120000 definitions=main-2503290060 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 (hyprscroller): New variable. Change-Id: I56c9984c7ce013f0ce4b22ec1f5df778fe17f736 --- gnu/packages/wm.scm | 49 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index 5017344e5b..9b6a78700b 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -521,6 +521,55 @@ (define-public hyprwinwrap (define-public xtra-dispatchers (hyprland-plugin "xtra-dispatchers" "extra dispatchers")) +(define-public hyprscroller + (package + (name "hyprscroller") + ;; Upstream has no tags, but we can use the commits which add support for + ;; the corresponding Hyprland version (see ./hyprscoller.toml). + (version "0.48.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/dawsers/hyprscroller") + (commit "5b62ca58790f8c2961da79af95efa458f6a814fe"))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0bg2gcrdgz68r8anchhb46hn9l5pancr9h83a2fav96bwyhwx2cs")))) + (build-system cmake-build-system) + (native-inputs (list gcc-14 pkg-config)) + (inputs (list aquamarine + hyprgraphics + hyprlang + hyprutils + libdrm + libinput + libxkbcommon + mesa + pango + pixman + wayland + hyprland)) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (delete 'configure) + (delete 'check) + (replace 'install + (lambda* _ + (install-file "hyprscroller.so" + (string-append #$output "/lib"))))))) + (home-page "https://github.com/dawsers/hyprscroller") + (synopsis "Hyprland plugin for a PaperWM-like scrolling layout") + (description + "Hyprscroller is a Hyprland layout plugin that creates a window layout +similar to PaperWM. The plugin supports gaps, borders, decorations, +special workspace, full screen modes, overview, marks, pinned columns, +touchpad gestures, copying/pasting windows, trails/trailmarks, quick +jump mode, and installation through hyprpm.") + (license license:expat))) + (define-public i3status (package (name "i3status")