diff options
author | QMK Bot <hello@qmk.fm> | 2021-10-14 17:29:17 +0000 |
---|---|---|
committer | QMK Bot <hello@qmk.fm> | 2021-10-14 17:29:17 +0000 |
commit | 55695ff929650a25938b6a737561b5177e452076 (patch) | |
tree | 75116b4aac04c3c4f70932ed31815f52f4b6477e /users | |
parent | 578cbdc49570dbce0dee1a7cd3d79ff9b4099e7a (diff) | |
parent | e8dadf51ad4f43a72d246c3db7efc75253a388b5 (diff) |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'users')
-rw-r--r-- | users/riblee/riblee.c | 14 |
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); |