end-4 / dots-hyprland

Modern, feature-rich and accessible desktop configuration.
https://end-4.github.io/dots-hyprland-wiki/en/
GNU General Public License v3.0
3.34k stars 218 forks source link

[Issue] Tons of errors config when loading hyprland #419

Closed kaine0x00 closed 3 months ago

kaine0x00 commented 3 months ago

Anyways, if anyone is having a similar problem, you may replace the multiple hashed comments in a file or files with the following sed command

sed -i 's/##*/#/g' file1 file2 file3
end-4 commented 3 months ago

but i thought this has been fixed already :(

end-4 commented 3 months ago

i checked and there isn't any hyprland config file that has double hashes at the beginning of a line can you show the error? which file is causing it?

kaine0x00 commented 3 months ago

but i thought this has been fixed already :(

Yeah, i basically re pulled the dotfiles from your repo and realised they didn't have multi-hashed comments. Only thing that troubled me were the custom configs which still had the problem and i couldn't just clone because they're my own. Solved that with the sed command earlier.

The error message i haven't got anymore, but I'm pretty sure it was something quite broad and generic like

error in line 1 /home/kaine/.config/hypr/hyprland/env.conf
error in line 2 /home/kaine/.config/hypr/hyprland/env.conf
. . .

TLDR: For the base end-4 configs just re pulling them from the repo and applying them should be fine. But for your custom configs you may need to use sed or any other text manipulation to remove multi-hash comment ocurrences.

keep up the good work! love the dots