respect XDG_DATA_HOME
This commit is contained in:
2
main.go
2
main.go
@@ -158,7 +158,7 @@ func main() {
|
||||
configDirectory = configDir()
|
||||
|
||||
if !pathExists(filepath.Join(configDirectory, "drawer.css")) {
|
||||
copyFile("/usr/share/nwg-drawer/drawer.css", filepath.Join(configDirectory, "drawer.css"))
|
||||
copyFile(filepath.Join(getDataHome(), "nwg-drawer/drawer.css"), filepath.Join(configDirectory, "drawer.css"))
|
||||
}
|
||||
|
||||
cacheDirectory := cacheDir()
|
||||
|
||||
Reference in New Issue
Block a user