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] Custom --config-dir #158

Open
napcok opened this issue Oct 21, 2021 · 7 comments
Open

[Feature request] Custom --config-dir #158

napcok opened this issue Oct 21, 2021 · 7 comments

Comments

@napcok
Copy link

napcok commented Oct 21, 2021

Hello,
It is possible to implement custom --config-dir=</path/to/dir/> command line option?

@johanmalm
Copy link
Collaborator

Hi
To use config dir $HOME/foo/jgmenurc/ just run

XDG_CONFIG_HOME=$HOME/foo jgmenu_run

Would that cover it, or do you need a special --config-dir option?

@napcok
Copy link
Author

napcok commented Nov 13, 2021

Thanks for hint. Unfortunately I can't get it to work this way.
Anyway I'm rewriting prepend and append.csv from the script for now. Ugly but works :)
Closing request.

@napcok napcok closed this as completed Nov 13, 2021
@johanmalm
Copy link
Collaborator

Should be able to get it to work that way. Happy to help problem solve.
Might need to use ‘env XDG_CONFIG_HOME…’

@napcok
Copy link
Author

napcok commented Jan 29, 2022

Hello, I played with this a little bit again, looks like it is impossible to use XDG_CONFIG_HOME as paths to prepend.csv and append.csv are hardcoded in jgmenu-apps.c like:

	i18n_cat("~/.config/jgmenu/prepend.csv");

@napcok napcok reopened this Jan 29, 2022
@clemencyworld1
Copy link

I sincerely will love this feature. Good software

@artrz
Copy link

artrz commented Feb 24, 2023

I'd love to see this implemented too

@KaffeMyers
Copy link

Just stumbled upon a situation where I would like the same feature as well, so +1 on the request!

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

No branches or pull requests

5 participants