budgie-extras icon indicating copy to clipboard operation
budgie-extras copied to clipboard

new keybindings to control window previews

Open lneute opened this issue 2 years ago • 2 comments

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?

lneute avatar Aug 03 '22 00:08 lneute

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

pull-requests are welcome.

fossfreedom avatar Aug 03 '22 09:08 fossfreedom

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.

lneute avatar Aug 05 '22 03:08 lneute