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