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 { }
|
instances := []string { }
|
||||||
for _, dir := range path {
|
for _, dir := range path {
|
||||||
entries, err := os.ReadDir(dir)
|
entries, err := os.ReadDir(dir)
|
||||||
if err != nil { return Theme { }, err }
|
if err != nil { continue }
|
||||||
|
|
||||||
for _, entry := range entries {
|
for _, entry := range entries {
|
||||||
if entry.Name() == name {
|
if entry.Name() == name {
|
||||||
instances = append (
|
instances = append (
|
||||||
@ -143,7 +144,7 @@ func findTheme (name string, trail []string, warn bool, path ...string) (Theme,
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
if warn {
|
if warn {
|
||||||
log.Printf (
|
log.Printf (
|
||||||
"xdg: could not parse inherited theme %s: %v",
|
"xdg: could not parse inherited theme '%s': %v",
|
||||||
parent, err)
|
parent, err)
|
||||||
}
|
}
|
||||||
continue
|
continue
|
||||||
|
Loading…
Reference in New Issue
Block a user