Help me to understand the cachyos-hyprland-settings package

Hello CachyOS Community! :slight_smile:
Really happy to be here, CachyOS is fantastic.

Everything works just fine, happily working with the ./config files your team provides! Great job for an easy starting point into hyprland! :slight_smile:

I sync all my changed settings in a own github repo.

Please help me understanding the behavior of the “cachyos-hyprland-settings” package.

Will this package update with pacman/paru -Syu?
If so, will it overwrite my settings?
Do i need to deactivate the update for this package?

Maybe you can help me. :slight_smile:

I’m new to cachyos hyprland. But I understood from the original config that we have to add our own stuff in the user-config.conf (uncomment it in the original config). I’m sourcing all my user config from this config. I prefix my config with the letter “u” to avoir collision with original one. Since it is read after all original config, you config will be the one in force. But I still don’t know if the commented statement to read the user config will be overwriten eventually …

Here’s the repo:

Have a look about what it does.

Thank you!
I read the comment in the hyprland.conf, and this approach seems right, @PerfMonk . :slightly_smiling_face:

But as @deex also pointed out, there are more config files in the GitHub repo that could be modified, which I want to keep.

Sourcing every config file seems a bit to much.

So:
If something gets changed in the repository (like Hyprland-, Waybar-, Wofi-. cfg),

  • Will this trigger my pacman -Syu?
  • Will it overwrite all my files or just the changed ones?

This is the part I have questions about. :slightly_smiling_face:

Could it be a solution to deactivate this package so that it won’t be synced?

I just changed my /etc/pacman.conf and added cachyos-hyprland-settings to the ignorelist.
Have to check from time to time, if something important will be added. :slight_smile:

sudo vim /etc/pacman.conf
IgnorePkg = cachyos-hyprland-settings

The only problem with that is Hypland get updated very frequently. It is still young and many changes are brought every week. I’d be afraid that my config might get behind and miss important changes. But if you check every time the changes on the hyprland site, you could manage manually updates that impact the config I guess.

Yeah that’s a good point, thank you!
Maybe i will clean up my changes in a small conf and safe it as recommended.
For the other configs i will do the same.
Maybe on folder with all my configs from various tools, and just source it from the main configs.

Has anyone experience with some changes happen in the repository and got changed them on your system?

No. Packages do and should NEVER overwrite user-set settings in the home directory. Packages can only interact with system files, and any package that attempts to modify files in the home directory should be avoided. In the case of the package you mentioned, it’s files are only installed to /etc/skel, which is used as a template for every new user.

2 Likes

I think you’re right on it. The default config for the package reside in /usr/share/hypr/hyprland.conf . You should copy it in your .config for you own use and modifiy it. But I guess cachyos does copy it’s own personalized config when you install hyprland. It shouldn’t copy again at update. Also there is always the possibility to take regular backup of your config somewhere else in case of “accident”.

Thanks @naim for clarifying! :slight_smile:

Might I point you in the direction of ML4W-dotfiles with regards to your question? It’s a great hyprland setup I use myself on CachyOS

There is also JaKooLit that have a nice Hyprland setup here: JaKooLit

The idea of having a big part of your config controlled by someone else is going against the basic idea of “I make my own desktop” … I don’t want someone to “update” my config without having my word on it. And I want to choose myself the pieces of my desktop. But it can also be used as an inspiration for making your own desktop. I prefer the inspiration and keep full control of my desktop. That firstly why I use Hyprland . But you may think otherwise. :thinking: