summary refs log tree commit diff stats
path: root/pkg/background/set.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/background/set.go')
-rw-r--r--pkg/background/set.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/background/set.go b/pkg/background/set.go
index 2badc48..0f7333d 100644
--- a/pkg/background/set.go
+++ b/pkg/background/set.go
@@ -8,6 +8,7 @@ import (
 
 // Set calls feh to set the background
 func Set(path string) error {
+	var err error
 	switch os.Getenv("XDG_CURRENT_DESKTOP") {
 	case "GNOME", "Unity", "Pantheon":
 		path = fmt.Sprintf("%s%s", "file://", path)