-
Notifications
You must be signed in to change notification settings - Fork 19
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
Modularize config #49
Comments
I agree, recently I tried Manjaro Sway build, and it has something similar. Quite a lot complicated, but I would think it is a right way to go. Mind to submit some PRs with modifications? |
I have been thinking about how to achieve this. Splitting configuration up in a few files rather than a single one is simple enough - as a matter of fact, that's what I have in my user configuration: As long as the user configuration is loaded after the system one (which it is in openSUSEway), all definitions and It becomes trickier when one wants to override the I am at a loss on how to solve this in a constructive way. Suggestions? |
Maybe something along the lines of:
|
Ok, I have tried this by having this structure:
|
I still would like to move as many of these I will continue looking into how to provide openSUSEway configuration parameters to systemd --user services by default, while still allowing them to be overridden by the user. That seems quite tricky. |
@FilippoBonazziSUSE I agree with you - systemd is the right way to go. One problem with that - everything that is related to the user space (services, user .config dir) losks like is out of our control. I see couple of ways to overcome this so far:
second one might be in pair with new sway of immutable OS and desktop in a container. |
Not sure I understand what you have in mind. I will do some more research of my own when I have time and come back to this |
openSUSEway looks beautiful, but seems a bit too opinionated to me.
It'd be nice to have the presentation separated from the function. It'd also be nice to define settings in one spot and then use (and re-use) them wherever needed. For example, have a central
$lock_screen
definition that gets re-used in all lockscreen keybindings and swayidle calls.I suggest splitting the config into several files and use individual
include
instead of the blanket.../*.conf
:.config/sway/openSUSEway/theme.conf
.config/sway/openSUSEway/definitions.conf
.config/sway/openSUSEway/behavior.conf
The text was updated successfully, but these errors were encountered: