Add keymap component

Adding a new keymap component that will
indicate the current keyboard layout (language)
and variant if any was set. I use the
standard X11 XKB APIs to retrieve and parse
the xkb_symbols set with setxkbmap.
This commit is contained in:
Michael Buch
2018-05-23 07:16:30 +01:00
committed by Aaron Marcher
parent 57f69e900b
commit 943b42de05
4 changed files with 103 additions and 0 deletions

View File

@ -37,6 +37,9 @@ const char *kernel_release(void);
/* keyboard_indicators */
const char *keyboard_indicators(void);
/* keymap */
const char *keymap(void);
/* load_avg */
const char *load_avg(const char *);