Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Oct 2022 23:14:47 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 267408] [New Port] x11/py-autotiling: Automatically switch the window split orientation in sway and i3
Message-ID:  <bug-267408-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267408

            Bug ID: 267408
           Summary: [New Port] x11/py-autotiling: Automatically switch the
                    window split orientation in sway and i3
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://github.com/nwg-piotr/autotiling
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: fuz@fuz.su
 Attachment #237697 maintainer-approval+
             Flags:

Created attachment 237697
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D237697&action=
=3Dedit
[New Port] x11/py-autotiling: Automatically switch the window split orienta=
tion
in sway and i3

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.

Tested with Poudriere on armv7 arm64 i386 amd64 FreeBSD 13.1.
Does not build with latest due to dependency affected by bug #267326.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-267408-7788>