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

How to include an app-specific configuration in a package? #62

Open
icf20 opened this issue Dec 2, 2022 · 5 comments
Open

How to include an app-specific configuration in a package? #62

icf20 opened this issue Dec 2, 2022 · 5 comments
Labels
enhancement New feature or request needs-triage needs-triage more investigation is needed on this issue to understand the problem

Comments

@icf20
Copy link

icf20 commented Dec 2, 2022

Currently, i am working on this https://github.com/icf20/espanso-oficina/blob/main/packages/oficina/0.1.0/README.md

Based on the documentation, there is no way for make a package that works only on certain programs or URL? did i understand that correctly.

To do what i want to do, users need to manually move and rename files? is this correct?

@smeech
Copy link
Collaborator

smeech commented Dec 5, 2022

Yes.

Is this: https://espanso.org/docs/configuration/app-specific-configurations/ what you're looking for?

@icf20
Copy link
Author

icf20 commented Dec 7, 2022

Is this: https://espanso.org/docs/configuration/app-specific-configurations/ what you're looking for?

yes, how u put that on a package?

@smeech
Copy link
Collaborator

smeech commented Feb 19, 2024

You can't.

Although this is an old issue, it's one that needs an answer.

@AmmarCodes
Copy link

I'm trying to do that in a package, but the triggers are being executed anywhere and not complying with the program filter. Maybe I'm doing something wrong, not sure.

#100

@smeech
Copy link
Collaborator

smeech commented Feb 24, 2024

App-specific configurations need to end up in espanso/config, with corresponding _something.yml files somewhere in matches (so the latter is not a problem). I can't find anything in the docs about how to achieve the first, and, as far as I can see, none of the hub packages implement an app-specific config yet, so I can't see that anyone has solved an automated process.

The best I can come up with is to include the app-specific config files and advise users (in the README.md) to move the relevant file to espanso/config, but that rather defeats the point of the automation of espanso package install and uninstall.

@smeech smeech changed the title how u create package for a certain URL/program How to include an app-specific configuration in a package? Jun 15, 2024
@AucaCoyan AucaCoyan added enhancement New feature or request needs-triage needs-triage more investigation is needed on this issue to understand the problem labels Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs-triage needs-triage more investigation is needed on this issue to understand the problem
Projects
None yet
Development

No branches or pull requests

4 participants