🔧 chore(switcher): add keybindings for scheme selection and navigation with h/l keys

This commit is contained in:
sankalp committed 2025-06-22 19:36:21 +05:45
1 parent c5ee49523e
commit 674df22960
3 files changed
+545 -871

No files matched your search

+2 -2
View File
@@ -181,12 +181,12 @@ class ApplicationSwitcher(Window):
self.hide_switcher()
return True
if keyval == Gdk.KEY_Right:
if keyval == Gdk.KEY_Right or keyval == Gdk.KEY_l:
self.current_index = (self.current_index + 1) % len(self.windows)
self.update_selection()
return True
if keyval == Gdk.KEY_Left:
if keyval == Gdk.KEY_Left or keyval == Gdk.KEY_h:
self.current_index = (self.current_index - 1) % len(self.windows)
self.update_selection()
return True