diff options
author | jack <[email protected]> | 2024-03-12 17:45:29 -0600 |
---|---|---|
committer | jack <[email protected]> | 2024-03-12 17:45:29 -0600 |
commit | a3ed2db0eabb5d909db3affd3ed48584547e8f19 (patch) | |
tree | c294ecec000f8028574e07a5ab87888717a01809 | |
parent | 4ae3db8e074c8d4f1c623f5f4e2cc3be2c848693 (diff) | |
download | qmk_me-a3ed2db0eabb5d909db3affd3ed48584547e8f19.tar.gz qmk_me-a3ed2db0eabb5d909db3affd3ed48584547e8f19.zip |
initial link script
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | keymaps/kyria/keymap.c | 2 | ||||
-rwxr-xr-x | util/link.sh | 17 |
3 files changed, 18 insertions, 2 deletions
@@ -2,4 +2,3 @@ */a.out a.out .cache -util diff --git a/keymaps/kyria/keymap.c b/keymaps/kyria/keymap.c index 5729d33..3bab6ea 100644 --- a/keymaps/kyria/keymap.c +++ b/keymaps/kyria/keymap.c @@ -13,7 +13,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [_LOWER] = LAYOUT_waffle( _______, KC_1, KC_2 , KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, _______, _______, HRML(KC_EXLM, KC_AT, KC_HASH, KC_DLR), KC_PERC, KC_CIRC, HRMR(KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN), _______, - _______, _______, KC_TAB, KC_CAPS, KC_TILD, KC_GRV, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, _______, _______, + _______, KC_VOLD, KC_TAB, KC_CAPS, KC_TILD, KC_GRV, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_VOLU, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ ), diff --git a/util/link.sh b/util/link.sh new file mode 100755 index 0000000..2851345 --- /dev/null +++ b/util/link.sh @@ -0,0 +1,17 @@ +#!/bin/zsh +GITDIR="$HOME/git" +QMKME="$HOME/git/qmk_me" +QMKFIRMWARE="$HOME/git/qmk_firmware" + +find $QMKFIRMWARE -type l -delete +rm $QMKFIRMWARE/.git/info/exclude + +ln -sv $QMKME/waffle $QMKFIRMWARE/users/waffle +echo "users/waffle" >> $QMKFIRMWARE/.git/info/exclude + +for dir in "keyboards"/*; do + src="$QMKME/$dir" + dst="$QMKFIRMWARE/$dir" + ln -sv $src $dst + echo "$dir" >> $QMKFIRMWARE/.git/info/exclude +done |