Try ignoring diff return value instead

This commit is contained in:
David Heinemeier Hansson 2025-08-08 14:42:44 +02:00
parent cbb9cc22e5
commit 485805fab3
2 changed files with 3 additions and 5 deletions

View File

@ -32,7 +32,7 @@ if [[ -f "$user_config_file" ]]; then
rm "$backup_config_file"
else
echo -e "\e[31mReplaced $user_config_file with new Omarchy default.\nSaved backup as ${backup_config_file}.\n\n\e[32mChanges:\e[0m"
diff "$user_config_file" "$backup_config_file"
diff "$user_config_file" "$backup_config_file" || true
fi
else
# Config file did not exist already

View File

@ -1,6 +1,4 @@
echo "Fix the expand icon margin in the Waybar style"
(
~/.local/share/omarchy/bin/omarchy-refresh-config waybar/style.css
~/.local/share/omarchy/bin/omarchy-restart-waybar
)
~/.local/share/omarchy/bin/omarchy-refresh-config waybar/style.css
~/.local/share/omarchy/bin/omarchy-restart-waybar