From patchwork Sat Jul 23 06:33:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hilton Chain X-Patchwork-Id: 40861 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 BB08127BBEA; Sat, 23 Jul 2022 08:16:52 +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=-0.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FROM_SUSPICIOUS_NTLD,MAILING_LIST_MULTI,PDS_OTHER_BAD_TLD, SPF_HELO_PASS,URIBL_BLOCKED autolearn=no 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 780A227BBE9 for ; Sat, 23 Jul 2022 08:16:52 +0100 (BST) Received: from localhost ([::1]:49108 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oF9Nb-0002x0-KC for patchwork@mira.cbaines.net; Sat, 23 Jul 2022 03:16:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59776) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oF9Mo-0002w1-Ox for guix-patches@gnu.org; Sat, 23 Jul 2022 03:16:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53384) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oF9Mo-0008Nv-F3 for guix-patches@gnu.org; Sat, 23 Jul 2022 03:16:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oF9Mo-0004vv-AB for guix-patches@gnu.org; Sat, 23 Jul 2022 03:16:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56717] [PATCH 2/2] gnu: Add python-autotiling. Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 23 Jul 2022 07:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56717 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56717@debbugs.gnu.org Received: via spool by 56717-submit@debbugs.gnu.org id=B56717.165856053617173 (code B ref 56717); Sat, 23 Jul 2022 07:16:02 +0000 Received: (at 56717) by debbugs.gnu.org; 23 Jul 2022 07:15:36 +0000 Received: from localhost ([127.0.0.1]:43126 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oF9MN-0004Rz-Fk for submit@debbugs.gnu.org; Sat, 23 Jul 2022 03:15:35 -0400 Received: from mail.boiledscript.com ([144.168.59.46]:38502) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oF9ML-00047n-Tf for 56717@debbugs.gnu.org; Sat, 23 Jul 2022 03:15:34 -0400 Message-Id: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1658560528; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=9ydVGjgu6pbuoeFB9USq8gqPQfEO5gqbW54FiBDsgqs=; b=zgugIme7yQ9GAn/HTy2VyXuGgmsKGUD62CeD36bplRGP5WNQ+ErYLqLnGGfL56AJnFsGn2 I5HMLEVvxy1HvtcKcFR8wa+9KibJYL0lYaFde83CnnXmf+sab84SKcm2rbdWuqzuBGu4Zd MaiH/3qMIK6UnxA/cszv1ffMDSsui7HreqUFeNZ+SIQ110YrYyKF60emRlkqke2wK2GRim HsMgXzy8Q4Wlo/Z9rHBEzd+xL/hQ9UnP2oPwJFb+d+lVoI8DlVJY79t6w+hUgI6xA5Bciz DHLXxgIO1T5pXhYSrddo2Re3SYdN6Kly5QSQk9xZ06E582vJcnb/H5+KgA/5Ig== In-Reply-To: References: Date: Sat, 23 Jul 2022 14:33:09 +0800 MIME-Version: 1.0 Authentication-Results: mail.boiledscript.com; auth=pass smtp.mailfrom=hako@ultrarare.space X-Spamd-Bar: / 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: Hilton Chain X-ACL-Warn: , Hilton Chain via Guix-patches X-Patchwork-Original-From: Hilton Chain via Guix-patches via From: Hilton Chain X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-autotiling): New variable. Signed-off-by: Hilton Chain --- gnu/packages/python-xyz.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 4bf6b3d965..8fd413a683 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -30226,3 +30226,30 @@ (define-public python-i3ipc (synopsis "Python library for controlling i3wm and sway") (description "An improved Python library to control i3wm and sway.") (license license:bsd-3))) + +(define-public python-autotiling + (package + (name "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 + '(#:tests? #f)) + (inputs (list python-wheel python-xlib)) + (propagated-inputs (list python-i3ipc)) + (home-page "https://github.com/nwg-piotr/autotiling") + (synopsis + "Automatically switch the horizontal/vertical window split orientation in + i3 and sway") + (description "This script uses the i3ipc-python library to switch the layout +splith/splitv depending on the currently focused window dimensions. It works on +both sway and i3 window managers.") + (license license:gpl3)))