ok i kinda forgot
This commit is contained in:
parent
5b9c1ed1ef
commit
3b1620b5ef
@ -94,7 +94,8 @@ func findTheme (name string, trail []string, warn bool, path ...string) (Theme,
|
||||
instances := []string { }
|
||||
for _, dir := range path {
|
||||
entries, err := os.ReadDir(dir)
|
||||
if err != nil { return Theme { }, err }
|
||||
if err != nil { continue }
|
||||
|
||||
for _, entry := range entries {
|
||||
if entry.Name() == name {
|
||||
instances = append (
|
||||
@ -143,7 +144,7 @@ func findTheme (name string, trail []string, warn bool, path ...string) (Theme,
|
||||
if err != nil {
|
||||
if warn {
|
||||
log.Printf (
|
||||
"xdg: could not parse inherited theme %s: %v",
|
||||
"xdg: could not parse inherited theme '%s': %v",
|
||||
parent, err)
|
||||
}
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user