https://bugs.kde.org/show_bug.cgi?id=408806

            Bug ID: 408806
           Summary: [RFE] provide API to override keybindings
           Product: kwin
           Version: 5.16.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: scripting
          Assignee: kwin-bugs-n...@kde.org
          Reporter: hi-an...@yandex.ru
  Target Milestone: ---

Right now the only way to bind an action to a key is by creating a new action,
even if there's already one that does the same thing.

It would be great if instead an extension could override a keybinding.

First: this would allow to provide a set of predefined actions for kwin-tiling
extension. Tiling managers are associated not only with "tiling ability", but
also with consistent set of keybindings. So the extension could provide e.g.
"i3-like" config for those migrating from i3, etc.

Second: this would allow to group relevant actions in a single config. Right
now if a user has 10 virtual desktops, then to re-bind "focus virtual desktop
n" one has to 1. Find the combination in systemsettings5 2. Press the action
label to make "overriding" window popup 3. Press the "override" 4. Press the
hotkey. 5. Dismiss the window. This needs to be repeated 10 times! And then
again for "move window to desktop n" action. With a text editor this could be
solved much faster.

See also: https://github.com/kwin-scripts/kwin-tiling/issues/163

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to