From 515288874ff12c00ca8d1d22a94ef4b4903fec76 Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Sat, 23 Jul 2022 20:48:19 +0800 Subject: [PATCH] gnu: Add i3-autotiling. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit * gnu/packages/python-xyz.scm (i3-autotiling): New variable. Signed-off-by: Hilton Chain Signed-off-by: Ludovic Courtès --- gnu/packages/python-xyz.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index affc4772dd..b6ca32a757 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -30329,3 +30329,27 @@ compatible with BibTeX's own parser.") "This package provides a Python library for controlling the i3 and Sway window managers.") (license license:bsd-3))) + +(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 (list #:tests? #f)) ;no tests + (native-inputs (list python-wheel)) + (propagated-inputs (list python-i3ipc)) + (home-page "https://github.com/nwg-piotr/autotiling") + (synopsis "Automatically tile windows in i3 and Sway") + (description + "Script for Sway and i3 to automatically switch the horizontal/vertical + window split orientation.") + (license license:gpl3))) -- 2.20.1