Add RoMac / non-split template support
This commit is contained in:
parent
e15fe2665a
commit
80034c0078
1 changed files with 6 additions and 1 deletions
7
docs/static/setup.sh
vendored
7
docs/static/setup.sh
vendored
|
@ -38,7 +38,7 @@ echo ""
|
||||||
echo "Keyboard Shield Selection:"
|
echo "Keyboard Shield Selection:"
|
||||||
|
|
||||||
prompt="Pick an keyboard:"
|
prompt="Pick an keyboard:"
|
||||||
options=("Kyria" "Lily58" "Corne" "Splitreus62" "Sofle" "Iris")
|
options=("Kyria" "Lily58" "Corne" "Splitreus62" "Sofle" "Iris" "RoMac")
|
||||||
|
|
||||||
PS3="$prompt "
|
PS3="$prompt "
|
||||||
# TODO: Add support for "Other" and linking to docs on adding custom shields in user config repos.
|
# TODO: Add support for "Other" and linking to docs on adding custom shields in user config repos.
|
||||||
|
@ -53,6 +53,7 @@ select opt in "${options[@]}" "Quit"; do
|
||||||
4 ) shield_title="Splitreus62" shield="splitreus62"; split="y"; break;;
|
4 ) shield_title="Splitreus62" shield="splitreus62"; split="y"; break;;
|
||||||
5 ) shield_title="Sofle" shield="sofle"; split="y"; break;;
|
5 ) shield_title="Sofle" shield="sofle"; split="y"; break;;
|
||||||
6 ) shield_title="Iris" shield="iris"; split="y"; break;;
|
6 ) shield_title="Iris" shield="iris"; split="y"; break;;
|
||||||
|
7 ) shield_title="RoMac" shield="romac"; split="n"; break;;
|
||||||
|
|
||||||
# Add link to docs on adding your own custom shield in your ZMK config!
|
# Add link to docs on adding your own custom shield in your ZMK config!
|
||||||
# $(( ${#options[@]}+1 )) ) echo "Other!"; break;;
|
# $(( ${#options[@]}+1 )) ) echo "Other!"; break;;
|
||||||
|
@ -62,6 +63,10 @@ select opt in "${options[@]}" "Quit"; do
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
if [ "$split" == "n" ]; then
|
||||||
|
repo_path="https://github.com/bmcgavin/zmk-config-template.git"
|
||||||
|
fi
|
||||||
|
|
||||||
read -e -p "Copy in the stock keymap for customization? [Yn]: " copy_keymap
|
read -e -p "Copy in the stock keymap for customization? [Yn]: " copy_keymap
|
||||||
|
|
||||||
if [ -z "$copy_keymap" ] || [ "$copy_keymap" == "Y" ] || [ "$copy_keymap" == "y" ]; then copy_keymap="yes"; fi
|
if [ -z "$copy_keymap" ] || [ "$copy_keymap" == "Y" ] || [ "$copy_keymap" == "y" ]; then copy_keymap="yes"; fi
|
||||||
|
|
Loading…
Reference in a new issue