File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -174,6 +174,10 @@ hyprland_hook() {
174174 local hyde_config=" ${cloneDir} /Configs/.config/hypr/hyprland.conf"
175175 local hyprland_default_config=" ${XDG_CONFIG_HOME:- $HOME / .config} /hypr/hyprland.conf"
176176 local hyq_exec=" ${cloneDir} /Configs/.local/lib/hyde/hyq"
177+ if [[ ! -x " ${hyq_exec} " ]]; then
178+ print_log -r " [error] :: " " Required executable '${hyq_exec} ' not found or not executable. Please ensure it exists and has execute permissions."
179+ return 1
180+ fi
177181 if ! " ${hyq_exec} " " ${hyprland_default_config} " --query " \$ HYDE_HYPRLAND" ; then
178182 mkdir -p " $( dirname " ${hyprland_default_config} " ) " " ${BkpDir} /.config/hypr"
179183 print_log -g " [hook] " -b " hyprland :: " " No HYDE_HYPRLAND variable found in ${hyprland_default_config} , restoring default HyDE marker..."
You can’t perform that action at this time.
0 commit comments