diff options
Diffstat (limited to 'pkg/background')
-rw-r--r-- | pkg/background/set.go | 1 |
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) |