mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-27 12:19:24 +00:00

Means less interaction for folks just riding on the default train without overwriting the work of people who've made changes.
11 lines
423 B
Bash
Executable File
11 lines
423 B
Bash
Executable File
#!/bin/bash
|
|
|
|
cp -f ~/.config/walker/config.toml ~/.config/walker/config.toml.bak 2>/dev/null
|
|
cp -f ~/.local/share/omarchy/config/walker/config.toml ~/.config/walker/ 2>/dev/null
|
|
|
|
if cmp -s ~/.config/walker/config.toml.bak ~/.config/walker/config.toml; then
|
|
rm ~/.config/walker/config.toml.bak
|
|
else
|
|
echo -e "\e[31mExisting .config/walker/config.toml replaced with new Omarchy default, but a .bak file was made.\e[0m"
|
|
fi
|