diff options
author | Ryan <fauxpark@gmail.com> | 2020-07-15 18:52:02 +1000 |
---|---|---|
committer | Drashna Jael're <drashna@live.com> | 2020-08-08 22:38:44 -0700 |
commit | 65cb9c4fdefd284db41d3bf5d5a522830e2cd712 (patch) | |
tree | f58ba89f0ad11e3649daea86c962957421760f8a /util/new_keyboard.sh | |
parent | 07c36a9ddf8670f84b5b832b11398b99b788c9c7 (diff) |
Update new keyboard templates (#9636)
* Update new keyboard templates
* Switch on Bootmagic Lite by default
* Remove MIDI_ENABLE and FAUXCLICKY_ENABLE
Diffstat (limited to 'util/new_keyboard.sh')
-rwxr-xr-x | util/new_keyboard.sh | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/util/new_keyboard.sh b/util/new_keyboard.sh index 7c5cdd3030..01458b4f19 100755 --- a/util/new_keyboard.sh +++ b/util/new_keyboard.sh @@ -74,9 +74,8 @@ replace_placeholders() { replace_year_placeholders() { local replace_year_filenames=( "${keyboard_dir}/config.h" - "${keyboard_dir}/${keyboard_name}.c" - "${keyboard_dir}/${keyboard_name}.h" - "${keyboard_dir}/keymaps/default/config.h" + "${keyboard_dir}/${keyboard_base_name}.c" + "${keyboard_dir}/${keyboard_base_name}.h" "${keyboard_dir}/keymaps/default/keymap.c" ) replace_placeholders "%YEAR%" "$(date +%Y)" "${replace_year_filenames[@]}" @@ -100,9 +99,8 @@ replace_name_placeholders() { "${keyboard_dir}/config.h" "${keyboard_dir}/info.json" "${keyboard_dir}/readme.md" - "${keyboard_dir}/${keyboard_name}.c" - "${keyboard_dir}/${keyboard_name}.h" - "${keyboard_dir}/keymaps/default/config.h" + "${keyboard_dir}/${keyboard_base_name}.c" + "${keyboard_dir}/${keyboard_base_name}.h" "${keyboard_dir}/keymaps/default/keymap.c" ) replace_placeholders "%YOUR_NAME%" "$username" "${replace_name_filenames[@]}" |