BSD Ports

x11/py-autotiling 1.9.3_1 FreeBSD

Automatically switch the window split orientation in sway and i3

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
GPLv3+
Categories
x11
Package size
12.1 KiB, 36.0 KiB installed

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.

The script does one thing: it checks the window height / width ratio, and executes the equivalent of either swaymsg splitv or swaymsg splith. Nothing less, nothing more. Yes, it may make stacking and tabbed layouts behave oddly. No, nothing can be done about it. If you like stacking/tabbed layouts, you may use them on workspaces with autotiling turned off (--workspaces argument). Do not submit issues about it.

For instance, you may configure autotiling to work on odd workspaces, but not on even:

### Autostart exec autotiling -w 1 3 5 7 9

In the other systems

SystemPortVersion
FreeBSDx11/py-autotiling1.9.3_1
DragonFlyx11/py-autotiling1.9.3_1

Install

Binary package:

pkg install py312-autotiling

From the ports tree:

cd /usr/ports/x11/py-autotiling/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-autotiling>0:x11/py-autotiling

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.9.3_11.9.3_11.81.9.3_11.9.3_1
FreeBSD:14:quarterly1.9.3_11.9.3_1n/a1.9.3_11.9.3_1
FreeBSD:15:latest1.9.3_11.9.3_1n/a1.9.3_11.9.3_1
FreeBSD:15:quarterly1.9.3_11.9.3_1n/an/an/a
FreeBSD:16:latest1.9.3_11.9.3_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Runtime 1

The full lists below include those, and their dependencies in turn.

Build dependencies 11
Run dependencies 10

No port depends on this one.

Configuration

No options to configure.

USES
python
Service scripts
none

Message after installing

To use x11/py-autotiling, add

    exec_always autotiling

or

    exec_always --no-startup-id autotiling

to the ~/.config/sway/config or ~/.config/i3/config file.

Files

distinfo 1
FileSizeSHA256
autotiling-1.9.3.tar.gz18128b286671106c8d68f0ae1f89e2cd49739ec944313423296763bb0bf7a14347027
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.