apply linter
This commit is contained in:
parent
88a73855f7
commit
162433a0ea
3 changed files with 0 additions and 3 deletions
1
event.go
1
event.go
|
|
@ -6,7 +6,6 @@ import (
|
|||
|
||||
func HandleFocusEvent(config Config) (*exec.Cmd, error) {
|
||||
files, err := GetOutputsWallpapers(config)
|
||||
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
|
|||
1
main.go
1
main.go
|
|
@ -16,7 +16,6 @@ func main() {
|
|||
}
|
||||
|
||||
config, err := LoadConfiguration(os.Args[1])
|
||||
|
||||
if err != nil {
|
||||
log.Printf("[ERROR] %s", err.Error())
|
||||
os.Exit(1)
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@ func GetWorkspaceWallpaper(workspace string, config Config) string {
|
|||
func GetOutputsWallpapers(config Config) ([]string, error) {
|
||||
files := []string{}
|
||||
outputs, err := i3.GetOutputs()
|
||||
|
||||
if err != nil {
|
||||
return files, err
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue