From 7dffb515a6c7d056cfcbfca59c886cdfba3710fa Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Thu, 1 Aug 2024 22:47:54 +0200 Subject: [PATCH] apply linter --- wallpaper.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/wallpaper.go b/wallpaper.go index 016aa3a..1919652 100644 --- a/wallpaper.go +++ b/wallpaper.go @@ -22,7 +22,6 @@ func GetOutputsWallpapers(config Config) ([]string, []string, error) { files := []string{} screens := []string{} outputs, err := i3.GetOutputs() - if err != nil { return files, screens, err } @@ -43,7 +42,6 @@ func GetOutputsWallpapers(config Config) ([]string, []string, error) { func UpdateWallapers(config Config) { files, screens, err := GetOutputsWallpapers(config) - if err != nil { log.Printf("[ERROR] %s", err.Error()) return