hyprmon icon indicating copy to clipboard operation
hyprmon copied to clipboard

Updating hyprland.conf destroys symlink

Open juaniten opened this issue 1 year ago • 3 comments

When Hyprmon saves monitor changes, it replaces hyprland.conf using os.Rename(). This breaks symlinks, which can be problematic for users who, like myself, manage their configs via dotfiles (e.g., with Stow or similar tools).

I think it would be better to replace the contents of the file instead of the file itself. That way, the symlink stays intact, and dotfiles-managed setups continue to work seamlessly.

I’d be happy to create a PR to implement this change.

juaniten avatar Sep 27 '25 09:09 juaniten

fixing it

erans avatar Sep 29 '25 17:09 erans

Thank you! 🙂

juaniten avatar Sep 29 '25 18:09 juaniten

Fixed in the next version. Will appear in AUR momentarily. Thank you for reporting!

erans avatar Sep 29 '25 18:09 erans