diff options
author | Christoph Cullmann <cullmann@kde.org> | 2023-08-11 23:24:28 +0200 |
---|---|---|
committer | Christoph Cullmann <cullmann@kde.org> | 2023-08-11 23:24:28 +0200 |
commit | d020d6262abc0d0de94dd1e00376b6edc4b37efa (patch) | |
tree | 3c146e8ffaad87dc03c3f7f0d7e82aef8a532c50 /planck | |
parent | ab53c9760831b1ac12f5eeb196af49c6a71b02d6 (diff) |
fix layer colors
Signed-off-by: Christoph Cullmann <cullmann@kde.org>
Diffstat (limited to 'planck')
-rw-r--r-- | planck/keymap.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/planck/keymap.c b/planck/keymap.c index 17894fb..a119a6d 100644 --- a/planck/keymap.c +++ b/planck/keymap.c @@ -118,7 +118,7 @@ const rgblight_segment_t PROGMEM qwerty_layer[] = RGBLIGHT_LAYER_SEGMENTS( ); const rgblight_segment_t PROGMEM sym_layer[] = RGBLIGHT_LAYER_SEGMENTS( - {1, 8, HSV_BLUE} + {1, 8, HSV_GOLD} ); const rgblight_segment_t PROGMEM num_layer[] = RGBLIGHT_LAYER_SEGMENTS( @@ -130,7 +130,7 @@ const rgblight_segment_t PROGMEM fn_layer[] = RGBLIGHT_LAYER_SEGMENTS( ); const rgblight_segment_t PROGMEM nav_layer[] = RGBLIGHT_LAYER_SEGMENTS( - {1, 8, HSV_WHITE} + {1, 8, HSV_BLUE} ); const rgblight_segment_t * const PROGMEM my_rgb_layers[] = RGBLIGHT_LAYERS_LIST( @@ -148,6 +148,7 @@ void keyboard_post_init_user(void) { layer_state_t layer_state_set_user(layer_state_t state) { + rgblight_set_layer_state(_QWERTY, layer_state_cmp(state, _QWERTY)); rgblight_set_layer_state(_SYM, layer_state_cmp(state, _SYM)); rgblight_set_layer_state(_NUM, layer_state_cmp(state, _NUM)); rgblight_set_layer_state(_FN, layer_state_cmp(state, _FN)); |