mate-desktop / marco

MATE default window manager
https://mate-desktop.org
GNU General Public License v2.0
199 stars 87 forks source link

window: expand tile size cycling support #642

Closed raveit65 closed 4 years ago

raveit65 commented 4 years ago

Cycle through the different tile sizes with keybindings. Before: 1/2 -> 1/3 -> 1/4 -> 3/4 -> 2/3 -> Untiled With PR: 1/2 -> 1/3 -> 1/4 -> 1/1 -> 3/4 -> 2/3 -> Untiled

Note, you need to define tile keybindings to test this feature. Example for keyboard numpad:

[rave@mother ~]$ gsettings get org.mate.Marco.window-keybindings tile-to-corner-ne
'<Primary><Alt>KP_9'
[rave@mother ~]$ gsettings get org.mate.Marco.window-keybindings tile-to-corner-nw
'<Primary><Alt>KP_7'
[rave@mother ~]$ gsettings get org.mate.Marco.window-keybindings tile-to-corner-se
'<Primary><Alt>KP_3'
[rave@mother ~]$ gsettings get org.mate.Marco.window-keybindings tile-to-corner-sw
'<Primary><Alt>KP_1'
[rave@mother ~]$ gsettings get org.mate.Marco.window-keybindings tile-to-side-e
'<Primary><Alt>KP_6'
[rave@mother ~]$ gsettings get org.mate.Marco.window-keybindings tile-to-side-w
'<Primary><Alt>KP_4'

And this key needs to be activate.

[rave@mother ~]$ gsettings get org.mate.Marco.general allow-tile-cycling
true

Edit: Simply press a keybinding several times ;)