summaryrefslogtreecommitdiff
path: root/users/riblee/riblee.c
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2021-10-14 17:29:17 +0000
committerQMK Bot <hello@qmk.fm>2021-10-14 17:29:17 +0000
commit55695ff929650a25938b6a737561b5177e452076 (patch)
tree75116b4aac04c3c4f70932ed31815f52f4b6477e /users/riblee/riblee.c
parent578cbdc49570dbce0dee1a7cd3d79ff9b4099e7a (diff)
parente8dadf51ad4f43a72d246c3db7efc75253a388b5 (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'users/riblee/riblee.c')
-rw-r--r--users/riblee/riblee.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/users/riblee/riblee.c b/users/riblee/riblee.c
index 4bfa298c4a..ae3bd7a2b1 100644
--- a/users/riblee/riblee.c
+++ b/users/riblee/riblee.c
@@ -190,7 +190,19 @@ void oled_task_user(void) {
switch (get_highest_layer(layer_state)) {
case _QWERTY:
- oled_write_P(PSTR("Default\n"), false);
+ if (layer_state_cmp(default_layer_state, _QWERTY)) {
+ oled_write_P(PSTR("Qwerty\n"), false);
+ } else if (layer_state_cmp(default_layer_state, _COLEMAK)) {
+ oled_write_P(PSTR("Colmak\n"), false);
+ } else if (layer_state_cmp(default_layer_state, _DVORAK)) {
+ oled_write_P(PSTR("Dvorak\n"), false);
+ } else if (layer_state_cmp(default_layer_state, _WORKMAN)) {
+ oled_write_P(PSTR("Workman\n"), false);
+ } else if (layer_state_cmp(default_layer_state, _HUNGARIAN)) {
+ oled_write_P(PSTR("HUN Qwerty\n"), false);
+ } else {
+ oled_write_P(PSTR("Undefined\n"), false);
+ }
break;
case _LOWER:
oled_write_P(PSTR("Lower\n"), false);