void-packages/srcpkgs/cinnamon/patches/input_keybindings.patch

12 lines
726 B
Diff

--- a/files/usr/lib/cinnamon-settings/modules/cs_keyboard.py
+++ b/files/usr/lib/cinnamon-settings/modules/cs_keyboard.py
@@ -119,6 +119,8 @@ KEYBINDINGS = [
[_("Log out"), MEDIA_KEYS_SCHEMA, "logout", False, "system"],
[_("Lock screen"), MEDIA_KEYS_SCHEMA, "screensaver", False, "system"],
[_("Toggle recording desktop (must restart Cinnamon)"), MUFFIN_KEYBINDINGS_SCHEMA, "toggle-recording", True, "system"],
+ [_("Switch to next source"), MEDIA_KEYS_SCHEMA, "switch-input-source", False, "system"],
+ [_("Switch to previous source"), MEDIA_KEYS_SCHEMA, "switch-input-source-backward", False, "system"],
# Launchers
[_("Launch help browser"), MEDIA_KEYS_SCHEMA, "help", False, "launchers"],