Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Symlink breakage on $HOME/.config/hyprpanel/config.json #800

Open
IndigoTeddy13 opened this issue Feb 27, 2025 · 2 comments
Open

Symlink breakage on $HOME/.config/hyprpanel/config.json #800

IndigoTeddy13 opened this issue Feb 27, 2025 · 2 comments

Comments

@IndigoTeddy13
Copy link

Describe the bug

I have a symlink from my dotfiles repo to $HOME/.config/hyprpanel/config.json, and that symlink keeps breaking whenever I edit the HyprPanel config through the settings window.

To Reproduce

Edit settings after creating a symlink from the dotfiles repo to the HyprPanel config file.

Expected behavior

Symlink should not break, so the changes get reflected in the "source" file, allowing Git to track the changes.

Desktop (please complete the following information):

  • Distribution: CachyOS
  • Window Manager/Desktop Environment: Hyprland

Additional context

Dotfiles: https://github.com/IndigoTeddy13/CachyDotfiles

If I use GNU Stow to symlink (stow --adopt dotfiles -t ~), the changes sync up to match HyprPanel's settings changes, so I know HyprPanel is the one breaking the symlink.

Thanks in advance for your support, and have a great day.

@MarkArranz
Copy link
Contributor

I too have this issue. The settings panel seems to read the symlinked config file just fine when opening, but as soon as a change is applied, the symlink is replaced by a normal config.json file.

@davfsa
Copy link
Contributor

davfsa commented Feb 27, 2025

This is unfortunately not something hyprpanel can fix easily, as it is a problem downstream.

I have opened Aylur/astal#303, which should allow fixing this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants