You are not logged in.

#1 2021-06-05 12:10:11

jaywk
Member
Registered: 2020-12-14
Posts: 11

xpytile - auto. tiling & simultaneous resizing of adjacent windows

I wrote a python script which helps me automatically tiling the windows on my Xfce-desktop.
Also side-by-side windows are resized simutanously, if you wish.
Perhaps the script might be helpful for others. 

https://github.com/jaywilkas/xpytile/

xpytile
Tiling and simultaneous resizing of side-by-side windows (not only) for Xfce.
Tested with Xfce, it should work with any window manager compliant to the EWMH standard.

Purpose
A Python script to auto-tile and to simultaneously resize docked windows.

Features:
Simultaneous resizing of adjacent windows
5 different tilers

Hotkeys for:
- Tiling and/or simultaneous resizing can be enabled/disabled
- Tiling can be triggered manually on demand
- Changing tiler
- Storing and re-creating current windows layout
- Cycling windows

All settings are workspace specific.
So for each workspace you can choose independently,
if tiling is enabled and which tiler should be used.
No limit of supported workspaces
Config-file
Pure Python, easily hackable

Hotkeys
Hotkeys can be defined in the config-file.
Most important hotkeys (full set see config-file):
Super_L - 1  tiler - master and stack vertically
Super_L - 2   tiler - vertically
Super_L - 3   tiler - master and stack horizontally
Super_L - 4   tiler - horizontally
Super_L - 0   tiler - maximize
Super_L - 5   restore windows layout
Super_L - 6   store windows layout
Super_L - ^   cycle windows
Super_L - q   toggle simultaneous resizing (on/off)
Super_L - w   toggle tiling (on/off)
Super_L - a   shrink width/height of master window and (re-)tile
Super_L - s   enlarge width/height of master window and (re-)tile
Super_L - .   log name & title of active window in /tmp/xpytile_<USERNAME>.log
Super_L - -   exit

Last edited by jaywk (2021-06-05 16:14:52)

Offline

#2 2021-07-16 19:40:13

jaywk
Member
Registered: 2020-12-14
Posts: 11

Re: xpytile - auto. tiling & simultaneous resizing of adjacent windows

Features added:
   - Turn window decoration off / on
   - Swap windows

Last edited by jaywk (2021-07-16 19:40:43)

Offline

#3 2022-07-15 15:34:16

Aprendiz2040
Member
Registered: 2022-07-15
Posts: 2

Re: xpytile - auto. tiling & simultaneous resizing of adjacent windows

Hi, I can't install it, I download the .zip, unzip, and then I don't understand the instructions. Could you explain me in more detail please?

Offline

#4 2022-07-15 15:47:19

Aprendiz2040
Member
Registered: 2022-07-15
Posts: 2

Re: xpytile - auto. tiling & simultaneous resizing of adjacent windows

Use Mx linux 21.1 xfce (debian 11 stable)

Offline

#5 2022-07-15 22:13:41

2ManyDogs
Forum Moderator
Registered: 2012-01-15
Posts: 4,645

Re: xpytile - auto. tiling & simultaneous resizing of adjacent windows

Aprendiz2040 wrote:

Use Mx linux 21.1 xfce (debian 11 stable)

Then why are you asking here? Ask on the MX forum.

Forum Registration wrote:

These forums are for Arch Linux x86_64 ONLY.

Not Artix, or Apricity, or Manjaro, or any of the "easy Arch installers", nor Arch-ARM; nothing other than vanilla 64-bit Arch Linux. Ask those communities for support.
If you have installed Arch, please read the rules before posting. README: Forum Rules.

Closing this old thread.


How to post. A sincere effort to use modest and proper language and grammar is a sign of respect toward the community.

Offline

Board footer

Powered by FluxBB