From 1c1f64192e05872111a1cd38464b62df298d2c19 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Thu, 27 Jun 2024 10:58:52 -0500 Subject: [PATCH] Horizontal rainbow --- iris-ce/flash.bash | 1 + iris-ce/keymap.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/iris-ce/flash.bash b/iris-ce/flash.bash index 7d9a664..9278b87 100755 --- a/iris-ce/flash.bash +++ b/iris-ce/flash.bash @@ -1,6 +1,7 @@ #!/usr/bin/env bash # TODO: cd dirname $0 +cd "$(dirname "$0")" || exit 1 cp ./config.h ~/qmk_firmware/keyboards/keebio/iris_ce/keymaps/lytedev cp ./rules.mk ~/qmk_firmware/keyboards/keebio/iris_ce/keymaps/lytedev diff --git a/iris-ce/keymap.c b/iris-ce/keymap.c index 8b5d7d7..ac04b81 100644 --- a/iris-ce/keymap.c +++ b/iris-ce/keymap.c @@ -104,7 +104,7 @@ layer_state_t layer_state_set_user(layer_state_t state) { rgblight_mode_noeeprom(1); rgblight_sethsv(HSV_YELLOW); } else { - rgblight_mode_noeeprom(RGB_MATRIX_DEFAULT_MODE); + rgblight_mode_noeeprom(RGB_MATRIX_DEFAULT_MODE + 1); } break; }