summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPete Johanson <peter@peterjohanson.com>2020-09-06 13:02:50 -0400
committerGitHub <noreply@github.com>2020-09-06 13:02:50 -0400
commit61b249666b13f7f356c0e77ee5eb500d672d7dce (patch)
tree006810296e797ee332a263dbb94b1236d8bebd45
parentba07fd1879ab576e15fe30d9cdf4ca87d7561a01 (diff)
parent01da54aadfe1ed9027e71754f9d897f68da900ea (diff)
Merge pull request #163 from bmcgavin/non-split-template
Add RoMac / non-split template support
-rw-r--r--docs/static/setup.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/static/setup.sh b/docs/static/setup.sh
index 70defdf..5d203a4 100644
--- a/docs/static/setup.sh
+++ b/docs/static/setup.sh
@@ -38,7 +38,7 @@ echo ""
echo "Keyboard Shield Selection:"
prompt="Pick an keyboard:"
-options=("Kyria" "Lily58" "Corne" "Splitreus62" "Sofle" "Iris")
+options=("Kyria" "Lily58" "Corne" "Splitreus62" "Sofle" "Iris" "RoMac")
PS3="$prompt "
# 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;;
5 ) shield_title="Sofle" shield="sofle"; 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!
# $(( ${#options[@]}+1 )) ) echo "Other!"; break;;
@@ -62,6 +63,10 @@ select opt in "${options[@]}" "Quit"; do
esac
done
+if [ "$split" == "n" ]; then
+ repo_path="https://github.com/zmkfirmware/zmk-config-template.git"
+fi
+
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