apply linter

This commit is contained in:
Simon Vieille 2024-08-01 22:47:54 +02:00
commit 7dffb515a6
Signed by: deblan
GPG key ID: 579388D585F70417

View file

@ -22,7 +22,6 @@ func GetOutputsWallpapers(config Config) ([]string, []string, error) {
files := []string{} files := []string{}
screens := []string{} screens := []string{}
outputs, err := i3.GetOutputs() outputs, err := i3.GetOutputs()
if err != nil { if err != nil {
return files, screens, err return files, screens, err
} }
@ -43,7 +42,6 @@ func GetOutputsWallpapers(config Config) ([]string, []string, error) {
func UpdateWallapers(config Config) { func UpdateWallapers(config Config) {
files, screens, err := GetOutputsWallpapers(config) files, screens, err := GetOutputsWallpapers(config)
if err != nil { if err != nil {
log.Printf("[ERROR] %s", err.Error()) log.Printf("[ERROR] %s", err.Error())
return return