wofi/man
jim jammer f4ebbed7a8 Refactor key mapping modifier logic
- Consolidate a modifier's "left" and "right" variants to just one
  modifier referred to by its name or mask. E.g. Control_L and Control_R are
  resolved by detecting the mask and are both associated with the name "Ctrl".

- Store string representations of the modified key values as the keys to
  the key entry map (exactly how they appear in the config file). E.g.
  the string "Ctrl-m" would be the key to the map entry for a custom
  Ctrl-m binding (whereas before the key would've only been "m", a
  source of ambiguity and conflict).

- During init, pass through key mapping entry logic twice: once for
  inputting the defaults, and a second time for adding any custom
  mappings as defined by the config file. This allows defaults to stay
  in place unless a user chooses to blow them away. E.g. mapping Ctrl-p
  to key_up shouldn't blow away key_up's default mapping to up arrow,
  and this fixes that use case.

These changes resolve several bugs due to key mapping resolution ambiguity and
conflicts, and generally make key mapping more intuitive. However, a new quirk
is that keys that are obtained using Shift (like "J", aka "capital j") now
require the use of Shift modifier when configuring that binding.
2022-12-11 05:04:34 -08:00
..
wofi-api.3 Updated the man pages with the new terminal order 2023-01-28 18:43:54 -08:00
wofi-config.3 Added documentation for config.h 2020-02-01 23:39:38 -08:00
wofi-keys.7 Refactor key mapping modifier logic 2022-12-11 05:04:34 -08:00
wofi-map.3 Added API documentation 2020-02-01 18:03:12 -08:00
wofi-utils.3 Added documentation for utils.h 2020-02-01 23:25:57 -08:00
wofi-widget-builder.3 Added the with_list() variants of the insert text and insert image functions in widget builder to the man pages 2022-07-05 14:30:02 -07:00
wofi.1 Updated the man pages with the new terminal order 2023-01-28 18:43:54 -08:00
wofi.3 Added the load() plugin function 2020-03-13 17:08:35 -07:00
wofi.5 Refactor key mapping modifier logic 2022-12-11 05:04:34 -08:00
wofi.7 Added the config option drun-disable_prime to disable prime GPU offloading 2022-12-25 15:54:50 -08:00