Try to run this in a subshell to prevent the exit

This commit is contained in:
David Heinemeier Hansson 2025-08-05 16:37:57 +02:00
parent 137c24454f
commit db441e8813

View File

@ -4,7 +4,7 @@ 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
bash ~/.local/share/omarchy/bin/omarchy-refresh-hyprland
else
echo "Left your existing configuration in place!"
fi