polybar/include/x11/extensions
Gilad Naaman db9a83a83b feat(xkeyboard): Customizable indicators and layouts (#1559)
* `layout-icon-*` list that maps layouts to icons.
* `indicator-icon-*` list that maps indicators to off and on icons
* `label-indicator-off`
* `label-indicator-on` which replaces the now deprecated `label-indicator`
* `label-indicator-[on|off]-*` for each indicator. Overrides `label-indicator-on` and `label-indicator-off` 

Fixes #1558 
Closes #1048

* add icon support for xkeyboard layouts

* removed unneeded #include

* add sperate %icon% token that can be used in <label-layout>

* removed unneeded #include

* added caps lock indicator (was mentioned in wiki, but not actually implememnted) and support for indicator icons

* a few more fixes to make sure existing user configs are not broken

* ready to go

* Added an option to replace xkb indicator names

* Added labels for each indicator state

* Removed print left on accident

* Fixed review comments

* Update src/modules/xkeyboard.cpp

Co-Authored-By: Gilnaa <gilad@naaman.io>
2019-02-24 22:35:39 +01:00
..
all.hpp fix(xcb): check for composite extension (#1430) 2018-12-02 16:39:14 +01:00
composite.hpp refactor: Cleanup 2017-01-11 03:07:28 +01:00
damage.hpp refactor: Cleanup 2017-01-11 03:07:28 +01:00
fwd.hpp refactor: Cleanup 2017-01-11 03:07:28 +01:00
randr.hpp feat(monitor): use primary monitor as default (#1426) 2019-01-20 11:20:30 -08:00
render.hpp fix(xrender): Add header declarations #406 2017-02-04 19:13:08 +01:00
sync.hpp refactor: Cleanup 2017-01-11 03:07:28 +01:00
xkb.hpp feat(xkeyboard): Customizable indicators and layouts (#1559) 2019-02-24 22:35:39 +01:00