2025-07-19 12:34:34 -05:00
|
|
|
#!/bin/bash
|
|
|
|
|
2025-07-20 21:07:59 -05:00
|
|
|
# Overwrite local Hyprlock settings with the latest in Omarchy, but create a backup if it differs
|
2025-07-19 12:34:34 -05:00
|
|
|
cp -f ~/.config/hypr/hyprlock.conf ~/.config/hypr/hyprlock.conf.bak 2>/dev/null
|
|
|
|
cp -f ~/.local/share/omarchy/config/hypr/hyprlock.conf ~/.config/hypr/ 2>/dev/null
|
2025-07-20 21:07:59 -05:00
|
|
|
|
|
|
|
if cmp -s ~/.config/hypr/hyprlock.conf.bak ~/.config/hypr/hyprlock.conf; then
|
|
|
|
rm ~/.config/hypr/hyprlock.conf.bak
|
|
|
|
else
|
|
|
|
echo -e "\e[31mExisting .config/hypr/hyprlock.conf replaced with new Omarchy default, but a .bak file was made.\e[0m"
|
|
|
|
fi
|