mirror of
https://github.com/swaywm/sway.git
synced 2025-11-26 06:59:59 -05:00
commands: Add shortcuts_inhibitor command
Add a command to influence keyboard shortcuts inhibitors. In its current form it can be used to activate, deactivate or toggle an existing inhibitor on the surface currently receiving input. This can be used to define an escape shortcut such as: bindsym --inhibited $mod+Escape seat - shortcuts_inhibitor deactivate It also allows the user to configure a per-seat default of whether keyboard inhibitors are honoured by default (the default) or not. Using the activate/toggle command they can then enable the lingering inhibitor at a later time of their choosing. As a side effect this allows to specifically address a named seat for actions as well, whatever use-case that might serve. Signed-off-by: Michael Weiser <michael.weiser@gmx.de>
This commit is contained in:
parent
eeac0aa170
commit
3ee5aace33
8 changed files with 150 additions and 0 deletions
|
|
@ -288,6 +288,7 @@ sway_cmd seat_cmd_idle_inhibit;
|
|||
sway_cmd seat_cmd_idle_wake;
|
||||
sway_cmd seat_cmd_keyboard_grouping;
|
||||
sway_cmd seat_cmd_pointer_constraint;
|
||||
sway_cmd seat_cmd_shortcuts_inhibitor;
|
||||
sway_cmd seat_cmd_xcursor_theme;
|
||||
|
||||
sway_cmd cmd_ipc_cmd;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue