Skip to content

Commit

Permalink
fix: xdg home default + use supplied param in
Browse files Browse the repository at this point in the history
Co-authored-by: kovapatrik <kovapatrik@gmail.com>
Signed-off-by: Czékus Máté <mate@picloud.hu>
  • Loading branch information
2 people authored and daveshanley committed Oct 2, 2024
1 parent 9061344 commit 0ab6060
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ func useUserSuppliedConfigFile(configFilePath string) error {
func getXdgConfigHome() string {
xdgConfigHome, exists := os.LookupEnv("XDG_CONFIG_HOME")
if !exists {
xdgConfigHome = os.Getenv("HOME") + "/.config/vacuum.conf.yaml"
xdgConfigHome = os.Getenv("HOME") + "/.config"
}
return xdgConfigHome
}
Expand Down

0 comments on commit 0ab6060

Please sign in to comment.