summaryrefslogtreecommitdiff
path: root/slstatus.h
diff options
context:
space:
mode:
authorMichael Buch <michaelbuch12@gmail.com>2018-05-23 07:16:30 +0100
committerAaron Marcher <me@drkhsh.at>2018-05-23 10:09:13 +0200
commit943b42de05cc3328ea74b0d9f527f17e1fcf47e7 (patch)
treeb08d4df304c35f503212741161e3298ddd376db1 /slstatus.h
parent57f69e900bf7e3e7c60a720bf09f2134b724c5cc (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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/slstatus.h b/slstatus.h
index a18b881..6112e7e 100644
--- a/slstatus.h
+++ b/slstatus.h
@@ -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 *);