Add walker emergency mode entry

This commit is contained in:
Ryan Hughes 2025-12-14 11:33:43 -05:00
parent 133d54f600
commit 4d5dab3e32
2 changed files with 14 additions and 0 deletions

View File

@ -43,3 +43,7 @@ provider = "websearch"
[[providers.prefixes]]
prefix = "$"
provider = "clipboard"
[[emergencies]]
text = "Restart Walker"
command = "omarchy-restart-walker"

10
migrations/1765729055.sh Normal file
View File

@ -0,0 +1,10 @@
CONFIG_FILE="$HOME/.config/walker/config.toml"
if [[ -f "$CONFIG_FILE" ]] && ! grep -q 'command = "omarchy-restart-walker"' "$CONFIG_FILE"; then
cat >> "$CONFIG_FILE" << 'EOF'
[[emergencies]]
text = "Restart Walker"
command = "omarchy-restart-walker"
EOF
fi