From 943b42de05cc3328ea74b0d9f527f17e1fcf47e7 Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Wed, 23 May 2018 07:16:30 +0100 Subject: 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. --- config.def.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config.def.h') 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) -- cgit v1.2.3