Try ignoring diff return value instead
This commit is contained in:
parent
cbb9cc22e5
commit
485805fab3
@ -32,7 +32,7 @@ if [[ -f "$user_config_file" ]]; then
|
|||||||
rm "$backup_config_file"
|
rm "$backup_config_file"
|
||||||
else
|
else
|
||||||
echo -e "\e[31mReplaced $user_config_file with new Omarchy default.\nSaved backup as ${backup_config_file}.\n\n\e[32mChanges:\e[0m"
|
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
|
fi
|
||||||
else
|
else
|
||||||
# Config file did not exist already
|
# Config file did not exist already
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
echo "Fix the expand icon margin in the Waybar style"
|
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-refresh-config waybar/style.css
|
~/.local/share/omarchy/bin/omarchy-restart-waybar
|
||||||
~/.local/share/omarchy/bin/omarchy-restart-waybar
|
|
||||||
)
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user