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 /config.def.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 'config.def.h')
-rw-r--r-- | config.def.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h index 45320a3..75debe5 100644 --- a/config.def.h +++ b/config.def.h @@ -34,6 +34,8 @@ static const char unknown_str[] = "n/a"; * ipv6 IPv6 address interface name (eth0) * kernel_release `uname -r` NULL * keyboard_indicators caps/num lock indicators NULL + * keymap layout (variant) of current NULL + * keymap * load_avg load average NULL * netspeed_rx receive network speed interface name (wlan0) * netspeed_tx transfer network speed interface name (wlan0) |