hyprmon
hyprmon copied to clipboard
Updating hyprland.conf destroys symlink
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.
fixing it
Thank you! 🙂
Fixed in the next version. Will appear in AUR momentarily. Thank you for reporting!