Haha oops

This commit is contained in:
Sasha Koshka 2022-11-27 00:16:10 -05:00
parent 1435c02354
commit 5ea5a302bf

View File

@ -29,14 +29,14 @@ func init () {
configDirs = append(strings.Split(configDirsString, ":"), configHome) configDirs = append(strings.Split(configDirsString, ":"), configHome)
configHome = os.Getenv("XDG_DATA_HOME") dataHome = os.Getenv("XDG_DATA_HOME")
if configHome == "" { if dataHome == "" {
configHome = filepath.Join(homeDirectory, "/.local/share/") dataHome = filepath.Join(homeDirectory, "/.local/share/")
} }
cacheHome = os.Getenv("XDG_CACHE_HOME") cacheHome = os.Getenv("XDG_CACHE_HOME")
if cacheHome == "" { if cacheHome == "" {
configHome = filepath.Join(homeDirectory, "/.cache/") cacheHome = filepath.Join(homeDirectory, "/.cache/")
} }
} }