mirror of
https://github.com/basecamp/omarchy.git
synced 2026-01-09 05:10:54 +08:00
Add walker emergency mode entry
This commit is contained in:
parent
133d54f600
commit
4d5dab3e32
@ -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
10
migrations/1765729055.sh
Normal 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
|
||||
Loading…
x
Reference in New Issue
Block a user