Haha oops

This commit is contained in:
Sasha Koshka 2022-11-27 00:16:10 -05:00
parent 1435c02354
commit 5ea5a302bf
1 changed files with 4 additions and 4 deletions

View File

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