UbuntuBudgie / budgie-extras

Additional Budgie Desktop enhancements for user experience
https://ubuntubudgie.org
GNU General Public License v3.0
175 stars 34 forks source link

new keybindings to control window previews #429

Open lneute opened 2 years ago

lneute commented 2 years ago

Hi, i was wondering if there is a way to set custom navigation keys on windows preview, for now ALT + TAB to activate (wich is fine) but the navigation inside the preview can only be done with another keypress on TAB or SHIFT + TAB, is there any possibilities to use also the arrow keys? like gnome, cinnamon or windows does?

fossfreedom commented 2 years ago

Seems like a reasonable request - it will need code changes to recognise the arrow keys.

pull-requests are welcome.

lneute commented 2 years ago

Hi there, i've tried to change the code and then recompile the binaries, but i've come across a lot of dependencies missing errors, i've fixed a bunch of them but it was not enough, so, i gave up this approach, but all of this was usefull to learn more on how this handles the keyboard events and i thought that i could make something to do what i've wanted it to do, so, this is what i've done a simple python script that does exactly what i wanted, use the arrow keys to move around on the window switcher.

Here is the link to the github reppo: https://github.com/lneute/budgie-window-preview-custom-shortcut

I dont know if anything there can be usefull for the project but if this becames usefull everyone is free to use as needed.