OctopusET / sway-contrib

A collection of user-contributed scripts for sway
MIT License
63 stars 22 forks source link

Add layout-per-window.py script #19

Closed DrPandemic closed 10 months ago

DrPandemic commented 10 months ago

This PR was opened on the main sway repo from an earlier PR.

The goal of this script is for every window to have their own layout. When a window loses focus, its layout is saved and then the global layout is changed to what the newly targeted window used to be.