From 7e1ca837b8ae9001c165dec05583e639c14d5a76 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Tue, 5 Aug 2025 12:35:06 +0200 Subject: [PATCH] Offer to reorganize hyprland.conf as is done in the new config --- migrations/1754389057.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 migrations/1754389057.sh diff --git a/migrations/1754389057.sh b/migrations/1754389057.sh new file mode 100644 index 00000000..59471492 --- /dev/null +++ b/migrations/1754389057.sh @@ -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