mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
12 lines
302 B
Bash
12 lines
302 B
Bash
echo "Add emergency entry for Walker"
|
|
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
|