Open mkoskar opened 4 years ago
Is a configurable config file still considered?
Hey, I don't think there is a PR around this one, someone should open one :rocket:
There is #307 hanging for a year now, any update or possibility to merge that? I don't see why it has no reply yet all other open PRs have some sort of review.
Right now config file is hardcoded to be
$XDG_CONFIG(~/.config if not defined)/afew/config
. In usecases concerning multiple notmuch dbs this is preventing to have separate configuration per db.I've solved it with following quick and dirty solution introducing
AFEW_CONFIG
environment variable:I guess it would be nicer if there were also accompanying
argparse()
parameter (probably-c
). I haven't got around to do it myself mainly because it would need refactoring ofSettings.py
code which does parsing of settings on import.If above is acceptable for now let me know and I'll make it as PR, probably mentioning it in man page would be good too.