🔧 chore(switcher): add keybindings for scheme selection and navigation with h/l keys
This commit is contained in:
3 files changed
+545
-871
No files matched your search
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user