View | Details | Raw Unified | Return to bug 267408
Collapse All | Expand All

(-)b/x11/py-autotiling/Makefile (+20 lines)
Added Link Here
1
PORTNAME=	autotiling
2
DISTVERSION=	1.7
3
CATEGORIES=	x11
4
MASTER_SITES=	CHEESESHOP
5
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
6
7
MAINTAINER=	fuz@fuz.su
8
COMMENT=	Automatically switch the window split orientation in sway and i3
9
WWW=		https://github.com/nwg-piotr/autotiling
10
11
LICENSE=	GPLv3+
12
13
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}i3ipc>0:x11/py-i3ipc@${PY_FLAVOR}
14
15
USES=		python
16
USE_PYTHON=	autoplist concurrent distutils
17
18
NO_ARCH=	yes
19
20
.include <bsd.port.mk>
(-)b/x11/py-autotiling/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1666995853
2
SHA256 (autotiling-1.7.tar.gz) = ecf1d2d400e56bafe88e47b9653222f77e2398de4b46bfa2e3beb785b117b92a
3
SIZE (autotiling-1.7.tar.gz) = 16769
(-)b/x11/py-autotiling/files/patch-setup.cfg (+10 lines)
Added Link Here
1
--- setup.cfg.orig	2022-10-24 23:56:22 UTC
2
+++ setup.cfg
3
@@ -32,7 +32,6 @@ install_requires = 
4
 python_requires = >=3.6
5
 setup_requires = 
6
 	setuptools>=42
7
-	wheel
8
 
9
 [options.entry_points]
10
 console_scripts = 
(-)b/x11/py-autotiling/pkg-descr (+16 lines)
Added Link Here
1
This script uses the i3ipc-python library to switch the layout
2
splith/splitv depending on the currently focused window dimensions.
3
It works on both sway and i3 window managers.
4
5
The script does one thing: it checks the window height / width ratio,
6
and executes the equivalent of either swaymsg splitv or swaymsg splith.
7
Nothing less, nothing more.  Yes, it may make stacking and tabbed
8
layouts behave oddly.  No, nothing can be done about it.  If you like
9
stacking/tabbed layouts, you may use them on workspaces with autotiling
10
turned off (--workspaces argument).  Do not submit issues about it.
11
12
For instance, you may configure autotiling to work on odd workspaces,
13
but not on even:
14
15
### Autostart
16
  exec autotiling -w 1 3 5 7 9
(-)b/x11/py-autotiling/pkg-message (-1 / +9 lines)
Added Link Here
0
- 
1
To use x11/py-autotiling, add
2
3
    exec_always autotiling
4
5
or
6
7
    exec_always --no-startup-id autotiling
8
9
to the ~/.config/sway/config or ~/.config/i3/config file.

Return to bug 267408