From patchwork Sat Jan 22 11:47:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "\\(" X-Patchwork-Id: 36746 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 AE60A27BBEA; Sat, 22 Jan 2022 12:28:55 +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=unavailable 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 7CBFC27BBE9 for ; Sat, 22 Jan 2022 12:28:55 +0000 (GMT) Received: from localhost ([::1]:33928 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nBFVm-0003Nq-JS for patchwork@mira.cbaines.net; Sat, 22 Jan 2022 07:28:54 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59252) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nBFRF-0000Pj-Nu for guix-patches@gnu.org; Sat, 22 Jan 2022 07:24:16 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43063) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nBFR3-0000pe-L7 for guix-patches@gnu.org; Sat, 22 Jan 2022 07:24:13 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nBFR3-0006cr-I1 for guix-patches@gnu.org; Sat, 22 Jan 2022 07:24:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53444] [PATCH 3/3] gnu: Add i3-autotiling Resent-From: "(unmatched-parenthesis" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 22 Jan 2022 12:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53444 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53444@debbugs.gnu.org Cc: "\(unmatched-parenthesis" X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164285419525410 (code B ref -1); Sat, 22 Jan 2022 12:24:01 +0000 Received: (at submit) by debbugs.gnu.org; 22 Jan 2022 12:23:15 +0000 Received: from localhost ([127.0.0.1]:35966 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nBFQI-0006bl-KT for submit@debbugs.gnu.org; Sat, 22 Jan 2022 07:23:14 -0500 Received: from lists.gnu.org ([209.51.188.17]:59840) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nBFQH-0006bf-Tu for submit@debbugs.gnu.org; Sat, 22 Jan 2022 07:23:14 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59138) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nBFQH-0008V1-PU for guix-patches@gnu.org; Sat, 22 Jan 2022 07:23:13 -0500 Received: from knopi.disroot.org ([178.21.23.139]:43570) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nBFQF-0000Ct-QB for guix-patches@gnu.org; Sat, 22 Jan 2022 07:23:13 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id E0E279102; Sat, 22 Jan 2022 13:23:09 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3X7CkXc6K2lw; Sat, 22 Jan 2022 13:23:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1642854187; bh=Vgvz8SpCcXB4aE85o9DziI2k4p8qN/uU2rsRAzWhXi8=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=WILksKbYiiiXmjpdBXdA3dHrdYoJWObBF+yyEinf3I68D9mXU3KbxXGUSyWWy5S43 Jwba4lCZdvodcYc0eOmUOn540M035qR4AslvCNlNGXyr4Wog/emsmmc227+MiWfrd7 bvLMaAbja3sSdTQYKZAeMpgZItaagQXebl4oYifCCZfzKiyIofqnjA+g02vQTs8iQB 0LOI0QPmxeeYFPjsiWazO6fXQBv6shnnCOxl96mbAdIGaCM0/aRRkHg7y6N1Veclk8 VUKUZXRk6m06YHDD4XaTP2RhAO6FFZ8k3qioyX+DmF96I5TK2LW/LvjM4u7WXZybD6 NylRNzZDJG3kg== Date: Sat, 22 Jan 2022 11:47:24 +0000 Message-Id: <20220122114722.21774-3-paren@disroot.org> In-Reply-To: <20220122114722.21774-1-paren@disroot.org> References: <20220122114722.21774-1-paren@disroot.org> Mime-Version: 1.0 Received-SPF: pass client-ip=178.21.23.139; envelope-from=paren@disroot.org; helo=knopi.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_MSPIKE_H2=-0.001, 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" Reply-to: "\(unmatched-parenthesis" X-ACL-Warn: , "\(unmatched-parenthesis via Guix-patches" X-Patchwork-Original-From: "\(unmatched-parenthesis via Guix-patches" via From: "\\(" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/wm.scm(i3-autotiling): New variable. --- gnu/packages/wm.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index c791bcf44e..9b473b22b1 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -121,6 +121,7 @@ (define-module (gnu packages wm) #:use-module (gnu packages pretty-print) #:use-module (gnu packages pulseaudio) #:use-module (gnu packages python) + #:use-module (gnu packages python-build) #:use-module (gnu packages python-crypto) #:use-module (gnu packages python-xyz) #:use-module (gnu packages readline) @@ -564,6 +565,32 @@ (define-public python-i3ipc (define-public python2-i3ipc (package-with-python2 python-i3ipc)) + +(define-public i3-autotiling + (package + (name "i3-autotiling") + (version "1.6") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/nwg-piotr/autotiling") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1hjlvg7095s322gb43r9g7mqlsy3pj13l827jpnbn5x0918rq9rr")))) + (build-system python-build-system) + (arguments + ;; TODO: Fix tests + '(#:tests? #f)) + (propagated-inputs + (list python-i3ipc python-setuptools python-wheel)) + (home-page "https://github.com/nwg-piotr/autotiling") + (synopsis "Automatic layout tiling for i3wm and sway.") + (description "This package uses @code{python-i3ipc} to control the tiling of i3wm and sway. It automatically switches between horizontal and vertical layouts to make the best use of space without human intervention.") + (license license:gpl3+))) + (define-public qtile (package (name "qtile")