mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
12 lines
300 B
Bash
12 lines
300 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
|