Open alexzeitgeist opened 3 weeks ago
If you just run cortile
without caching disabled (- cache 0
), you will get most of your requirements for free, because cortile will remember tiling states, layouts etc. per workplace (physical connected screens) as described here:
https://github.com/leukipp/cortile/issues/44
With that said, it would be possible to do this via Python bindings by simply listening for “Workplace” changes and then applying some layouts based on the new screen count/dimensions.
If you need to run it via cortile - cache 0
let me know why, because tackling this may be less work.
Would it be possible to use the bindings to dynamically enable or disable Cortile based on the current monitor setup?
For example, if my laptop is docked to a multi-monitor setup, I want cortile to be enabled. But if I undock the laptop, I would like via script to
Furthermore, in a multi-monitor setup, I would like to define whether to enable or disable tiling for a specific monitor.
Cheers Alex