Add mac app agent and Terminal.app specific keybinds
This commit is contained in:
@@ -25,6 +25,10 @@
|
||||
shellHook = ''
|
||||
export QMK_HOME="$PWD/qmk_firmware"
|
||||
ln -sfn "$PWD/keymaps/custom" "$QMK_HOME/keyboards/system76/launch_3/keymaps/custom"
|
||||
git -C "$QMK_HOME" checkout -- .
|
||||
for p in "$PWD"/patches/*.patch; do
|
||||
[ -f "$p" ] && patch -d "$QMK_HOME" -p1 < "$p"
|
||||
done
|
||||
'';
|
||||
};
|
||||
});
|
||||
@@ -40,6 +44,9 @@
|
||||
|
||||
src = ./qmk_firmware;
|
||||
|
||||
patches = builtins.map (f: ./patches + "/${f}")
|
||||
(builtins.attrNames (builtins.readDir ./patches));
|
||||
|
||||
postUnpack = ''
|
||||
cp -r ${./keymaps/custom} $sourceRoot/keyboards/system76/launch_3/keymaps/custom
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user