-
Notifications
You must be signed in to change notification settings - Fork 16
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
[FEAT] Allow wildcards in 'include' config option #82
Comments
It may require something like a " EDIT: I can also try to only support |
Another idea, maybe the most simple without degrading the feature: ability to pass a folder name, which will be listed searching for .toml files... (sorted alphabetically) |
That describes the behavior I am looking for well.
As far as I understand Linux, the Are you pointing to the combination of TOML 'literal string' and the python |
Yes, but not only, it's overall complications with the different escaping of "?" to get it to work as a literal or as a regex, it will generally not be armful but I don't like the idea that much, I think I'll go for the folder solution with sounds the most straightforward. |
I am using it now, really helps making things easier to organize indeed. In the main file I have all the most simple plugins defined and listed, plus: [pyprland]
include = ["~/.config/hypr/pyprland.d"] Then even plugins can be self-loaded from their own config file, not being in the main plugins array: |
Awesome, thanks for implementing! |
Is your feature request related to a problem? Please describe.
As of pyprland 2.2.7 it is not possible to import all files within a specific folder.
The setting
yields the following error:
Describe the solution you'd like
Using the config example above, ideally the following happens every time pyprland is starting or the config is reloaded
Possibly it might be required to replace a single entry in the
include
list by the resolved list of elements, while keeping the total order. E.g in an example:yields the following file list
Describe alternatives you've considered
None I can think of.
The text was updated successfully, but these errors were encountered: