x11pygrid icon indicating copy to clipboard operation
x11pygrid copied to clipboard

Change middle dimensions

Open VariabileAleatoria opened this issue 5 years ago • 2 comments

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?

VariabileAleatoria avatar Mar 13 '19 14:03 VariabileAleatoria

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.

pkkid avatar Mar 15 '19 14:03 pkkid

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.

Mr-Ruben avatar Feb 15 '21 12:02 Mr-Ruben