Skip to content

Commit

Permalink
fix XDG variable name
Browse files Browse the repository at this point in the history
Co-authored-by: arza <arza@arza.us>
  • Loading branch information
c4llv07e and arza-zara committed Sep 1, 2023
1 parent 92723a6 commit 2c4c78c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tg/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,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/")
Expand Down

0 comments on commit 2c4c78c

Please sign in to comment.