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

Feature Request: Support more programs #1

Open
danisztls opened this issue Jun 3, 2022 · 8 comments
Open

Feature Request: Support more programs #1

danisztls opened this issue Jun 3, 2022 · 8 comments

Comments

@danisztls
Copy link

Arch Wiki - XDG Base Directory has a long list of configuration for many programs.

@danisztls danisztls changed the title Suggestion: Support more programs Feature Request: Support more programs Jun 3, 2022
@mazunki
Copy link
Contributor

mazunki commented Jun 3, 2022

Yep, I'll slowly work my way through all of the ones on the wiki. Feel free to PR some solutions, or request specific ones so I can focus on them. I'll happily accept contributions provided they're sane.

Maybe we should make a set of policies for what's okay?

@danisztls
Copy link
Author

I'll happily submit PRs for the ones I use though I already have a system in place. So I'm thinking if it makes sense for me to adopt your solution. Will it be easier to maintain?

@mazunki
Copy link
Contributor

mazunki commented Jun 3, 2022

I was already thinking about making one environment file per evil_app, I love the way you did that.

Can you push your .config/shell/config into force_xdg.git/data_home/force_xdg/env.d/, perhaps? Maybe remove the leading underscore, or is there a good reason to keep them?

By having them all in that location, it should be fairly easy to activate/deactivate different ones.

If you have a better idea, I'll be glad to hear it :)

@mazunki
Copy link
Contributor

mazunki commented Jun 3, 2022

I see some of your fixes include aliases and so, I'd rather avoid them, at least in the environment files. Look here as to why.

@mazunki
Copy link
Contributor

mazunki commented Jun 8, 2022

Great, I implemented all (I hope/think) environmental changes from the Arch wiki into env.d/. There's a holy 111 current files there now. lol

@danisztls
Copy link
Author

Great, I implemented all (I hope/think) environmental changes from the Arch wiki into env.d/. There's a holy 111 current files there now. lol

That's incredible!

@danisztls
Copy link
Author

I see some of your fixes include aliases and so, I'd rather avoid them, at least in the environment files. Look here as to why.

Valid reasons but the PATH hijacking also have tradeoffs, one of them is complexity.

@danisztls
Copy link
Author

Can you push your .config/shell/config into force_xdg.git/data_home/force_xdg/env.d/, perhaps?

I think you covered it all by implementing the envs from Arch wiki. :)

Maybe remove the leading underscore, or is there a good reason to keep them?

It's just to indicate that it's a partial config, it's not required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants