summaryrefslogtreecommitdiff
path: root/planck/keymap.c
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2023-08-11 23:24:28 +0200
committerChristoph Cullmann <cullmann@kde.org>2023-08-11 23:24:28 +0200
commitd020d6262abc0d0de94dd1e00376b6edc4b37efa (patch)
tree3c146e8ffaad87dc03c3f7f0d7e82aef8a532c50 /planck/keymap.c
parentab53c9760831b1ac12f5eeb196af49c6a71b02d6 (diff)
fix layer colors
Signed-off-by: Christoph Cullmann <cullmann@kde.org>
Diffstat (limited to 'planck/keymap.c')
-rw-r--r--planck/keymap.c5
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));