Jas-SinghFSU/HyprPanel

Store configuration as text file in `.config`

Opened this issue · 7 comments

LDAP commented

Is your feature request related to a problem? Please describe.
I'd like to sync my config using Git or a dotfile manager or similar

Describe the solution you'd like
The config should be stored in .config and be suitable for dotfiles tools (not binary)

Describe alternatives you've considered
None

Additional context
None

You can export your config from Configuration > General > Export.
Same with theme in Theming > General > Export

Similarly, you can import it back from the same menus.

LDAP commented

I know that, but this is an extra step :(

Maybe I can allow users to define a path to where the config is saved. By default it's in cache but maybe you want to store it in ~/.config/hyprpanel/options.json. Would that suffice? That way you can simply sync you hyprpanel directory.

LDAP commented

That would be fantastic! :)

Yesss, looking forward to see that!

Just crossed my mind, it would be awesome if this had dynamic application on save, like hyprland.conf does. Waybar you have to manually kill it and restart it every time you edit the file to see the change, if it's possible that would be super nice here too.

Looking forward to this.