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; }