calcurse icon indicating copy to clipboard operation
calcurse copied to clipboard

Add env variables CALCURSE_CALDAV_DATA_DIR and CALCURSE_CALDAV_CONFIG_DIR

Open josephmturner opened this issue 4 years ago • 1 comments

Allows users to set arbitrary locations for caldav config and data, without the calcurse-caldav script creating unused caldav directories inside $XDG_DATA_HOME/calcurse and $XDG_CONFIG_HOME/calcurse.

Addresses #393

josephmturner avatar Sep 17 '21 22:09 josephmturner

Thanks for your contribution, Joseph! If I'm not mistaken, all paths can already be configured using command-line arguments (--config, --hookdir, ...) is there anything that's not covered by them?

You're correct that using them will still lead to standard directories being generated to check_dir() calls. I think we should move the check_dir() calls to a later point in the script, after command line arguments have been parsed. Does that make sense?

lfos avatar Oct 16 '21 15:10 lfos