Offer to reorganize hyprland.conf as is done in the new config

This commit is contained in:
David Heinemeier Hansson 2025-08-05 12:35:06 +02:00
parent 2c73e48172
commit 7e1ca837b8

11
migrations/1754389057.sh Normal file
View File

@ -0,0 +1,11 @@
echo "Offer to reorganize hyprland.conf as per new defaults"
if [[ ! -f ~/.config/hypr/autostarts.conf ]]; then
echo -e "\nOmarchy now splits default .config/hypr/hyprland.conf into sub-configs."
echo -e "Resetting to defaults will overwrite your configuration, but save it as .bak.\n"
if gum confirm "Use new default hyprland.conf config?"; then
~/.local/share/omarchy/bin/omarchy-refresh-hyprland
else
echo "Left your existing configuration in place!"
fi
fi