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:

committed by
Aaron Marcher

parent
57f69e900b
commit
943b42de05
@ -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 *);
|
||||
|
||||
|
Reference in New Issue
Block a user