diff options
author | Michael Buch <michaelbuch12@gmail.com> | 2018-05-23 07:16:30 +0100 |
---|---|---|
committer | Aaron Marcher <me@drkhsh.at> | 2018-05-23 10:09:13 +0200 |
commit | 943b42de05cc3328ea74b0d9f527f17e1fcf47e7 (patch) | |
tree | b08d4df304c35f503212741161e3298ddd376db1 /slstatus.h | |
parent | 57f69e900bf7e3e7c60a720bf09f2134b724c5cc (diff) |
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.
Diffstat (limited to 'slstatus.h')
-rw-r--r-- | slstatus.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 *); |