x11pygrid
x11pygrid copied to clipboard
Change middle dimensions
Hi, first of all thank you because this is the only script/extension that works correctly and does exactly what expected with no bugs or weird mechanics. I'd like to know if it's possible to easily modify the script in order to change the behaviour on the 'middle' input. I really don't need the centered window to be full-width, because I can use maximize for that, so I'd prefer to have it centered but with reduced width and height. Is it possible?
Unfortunately this isn't possible with only config changes today. We would probably want to add a new configuration option along the lines of middlepadding
that would be a special case for a centered window, then implement the usage of that value in the _generate_sequence_percents()
function.
I would suggest you try this in the configuration
"xdivs": 6
It allows to use 2/6, 3/6 and 4/6 of screen (just keep pressing the key combination until what you want appears), regardless of the position.