Add initial omarchy skill for OpenCode (and friends) (#4090)

This commit is contained in:
Ryan Hughes
2026-01-07 11:19:53 -05:00
committed by GitHub
parent ed935bedef
commit d207d505f5
7 changed files with 377 additions and 14 deletions

3
migrations/1767478141.sh Normal file
View File

@@ -0,0 +1,3 @@
echo "Add Omarchy AI skill for assistance tailoring the system"
source $OMARCHY_PATH/install/config/omarchy-ai-skill.sh

View File

@@ -7,11 +7,3 @@ if [[ ! -f ~/.config/opencode/opencode.json ]]; then
mkdir -p ~/.config/opencode
cp $OMARCHY_PATH/config/opencode/opencode.json ~/.config/opencode/opencode.json
fi
# Add binding if the key is available
BINDINGS_PATH="$HOME/.config/hypr/bindings.conf"
if ! grep -q "SUPER SHIFT CTRL, A" $BINDINGS_PATH; then
sed -i '/SUPER SHIFT ALT, A/a bindd = SUPER SHIFT CTRL, A, opencode, exec, omarchy-launch-opencode' "$BINDINGS_PATH"
else
echo "Add your own binding for opencode using omarchy-launch-opencode in $BINDINGS_PATH"
fi