mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-03 22:25:57 +00:00
Gate Wayland modifier autodiscovery behind an environment variable
This commit is contained in:
parent
1b88a68b55
commit
75df0cbcf5
3 changed files with 13 additions and 4 deletions
|
|
@ -64,6 +64,13 @@ Variables that influence kitty behavior
|
|||
Same as :envvar:`VISUAL`. Used if :envvar:`VISUAL` is not set.
|
||||
|
||||
|
||||
.. envvar:: KITTY_WAYLAND_DETECT_MODIFIERS
|
||||
|
||||
When set to a non-empty value, kitty attempts to autodiscover XKB
|
||||
modifiers under Wayland. It is possible for the autodiscovery to
|
||||
fail; the default Wayland XKB mappings are used in this case.
|
||||
|
||||
|
||||
Variables that kitty sets when running child programs
|
||||
|
||||
.. envvar:: LANG
|
||||
|
|
|
|||
|
|
@ -145,8 +145,8 @@ Modifiers
|
|||
This protocol supports six modifier keys, :kbd:`shift, alt, ctrl, super, hyper
|
||||
and meta` as well as :kbd:`num_lock and caps_lock`. Here :kbd:`super` is either
|
||||
the *Windows/Linux* key or the *Cmd* key on mac keyboards. :kbd:`hyper` and
|
||||
:kbd:`meta` are typically present only on X11 based systems with special XKB
|
||||
rules. Modifiers are encoded as a bit field with::
|
||||
:kbd:`meta` are typically present only on X11/Wayland based systems with
|
||||
special XKB rules. Modifiers are encoded as a bit field with::
|
||||
|
||||
shift 0b1 (1)
|
||||
alt 0b10 (2)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue