jgmenu icon indicating copy to clipboard operation
jgmenu copied to clipboard

[Feature request] Custom --config-dir

Open napcok opened this issue 4 years ago • 7 comments

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

napcok avatar Oct 21 '21 09:10 napcok

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?

johanmalm avatar Oct 21 '21 20:10 johanmalm

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 avatar Nov 13 '21 12:11 napcok

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

johanmalm avatar Nov 13 '21 12:11 johanmalm

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 avatar Jan 29 '22 01:01 napcok

I sincerely will love this feature. Good software

clemencyworld1 avatar Mar 15 '22 05:03 clemencyworld1

I'd love to see this implemented too

artrz avatar Feb 24 '23 01:02 artrz

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

KaffeMyers avatar May 29 '23 20:05 KaffeMyers