You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Scripts/install.sh
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -304,6 +304,12 @@ if [ $flg_Install -eq 1 ] ||
304
304
[ $flg_Restore-eq 1 ] ||
305
305
[ $flg_Service-eq 1 ] &&
306
306
[ $flg_DryRun-ne 1 ];then
307
+
308
+
if [[ -z"${HYPRLAND_CONFIG:-}" ]] || [[ !-f"${HYPRLAND_CONFIG}" ]];then
309
+
print_log -warn "Hyprland config not found! Might be a new install or upgrade."
310
+
print_log -warn "Please reboot the system to apply new changes."
311
+
fi
312
+
307
313
print_log -stat "HyDE""It is not recommended to use newly installed or upgraded HyDE without rebooting the system. Do you want to reboot the system? (y/N)"
308
314
read -r answer
309
315
@@ -314,9 +320,3 @@ if [ $flg_Install -eq 1 ] ||
314
320
echo"The system will not reboot"
315
321
fi
316
322
fi
317
-
318
-
if [[ -z"${HYPRLAND_CONFIG:-}" ]] || [[ !-f"${HYPRLAND_CONFIG}" ]];then
319
-
print_log -sec "hyprland" -warn "No Hyprland config file found""Please set HYPRLAND_CONFIG environment variable to your Hyprland config file path."
0 commit comments