fix XDG variable name

Co-authored-by: arza <arza@arza.us>
This commit is contained in:
c4llv07e 2023-09-01 15:30:04 +00:00 committed by GitHub
parent 1eeeb288cf
commit 1cdeba5b36
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,7 +16,7 @@ def expand_path(path):
CONFIG_HOME = expand_path(os.getenv("XDG_CONFIG_HOME", "~/.config"))
CACHE_HOME = expand_path(os.getenv("XDG_CACHE_HOME", "~/.cache"))
DATA_HOME = expand_path(os.getenv("XD_GDATA_HOME", "~/.local/share"))
DATA_HOME = expand_path(os.getenv("XDG_DATA_HOME", "~/.local/share"))
DOWNLOAD_DIR = expand_path(os.getenv("XDG_DOWNLOAD_DIR", "~/Downloads"))
CONFIG_DIR = os.path.join(CONFIG_HOME, "tg/")