[bug#56717,2/2] gnu: Add i3-autotiling.
Commit Message
* gnu/packages/python-xyz.scm (i3-autotiling): New variable.
Signed-off-by: Hilton Chain <hako@ultrarare.space>
---
gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
Comments
On Sat Jul 23, 2022 at 1:48 PM BST, Hilton Chain wrote:
> + (description
> + "This script uses the python-i3ipc library to switch the layout
> +splith/splitv depending on the currently focused window dimensions. It works on
> +both sway and i3 window managers.")
I think you should probably change this one, too. 'splith'/'splitv'
doesn't make much sense as there's no mention of sway or i3 until the
end. Also, sway -> Sway :)
-- (
v3 -> v4: description change for i3-autotiling.
Hilton Chain (2):
gnu: Add python-i3ipc.
gnu: Add i3-autotiling.
gnu/packages/python-xyz.scm | 48 +++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
base-commit: 32a00363435ac8c1bc93ef1281b2c2afc28a8877
--
2.36.1
Hi,
Hilton Chain <hako@ultrarare.space> skribis:
> gnu: Add python-i3ipc.
> gnu: Add i3-autotiling.
Applied, thank you, and thanks to the reviewers!
Ludo’.
On Sat Aug 6, 2022 at 10:14 PM BST, Ludovic Courtès wrote:
> Applied, thank you, and thanks to the reviewers!
Thanks Ludo! :D
-- (
@@ -30227,3 +30227,28 @@ (define-public python-i3ipc
"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
+ "This script uses the python-i3ipc 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)))