croissant icon indicating copy to clipboard operation
croissant copied to clipboard

xdg base dir compliance

Open Susensio opened this issue 1 year ago • 0 comments

Hi there, I'm enjoying croissant so far, the only thing it's bugging me is the history being saved in $HOME Following XDG_BASE_DIR spec, the following directories should be used:

config_file=${XDG_CONFIG_HOME:-$HOME/.config}/croissant/config
hist_file=${XDG_DATA_HOME:-$HOME/.local/share}/croissant/history

Could this be configurable?

Susensio avatar Dec 19 '23 13:12 Susensio