DistroLogoService: add NixOS path as requested in #197
This commit is contained in:
parent
80a2e69eaa
commit
7141a91994
1 changed files with 8 additions and 0 deletions
|
|
@ -35,6 +35,14 @@ Singleton {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// NixOS hicolor paths
|
||||||
|
candidates.push(`/run/current-system/sw/share/icons/hicolor/scalable/apps/${n}.svg`)
|
||||||
|
for (const s of sizes) {
|
||||||
|
for (const ext of exts) {
|
||||||
|
candidates.push(`/run/current-system/sw/share/icons/hicolor/${s}/apps/${n}.${ext}`)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Generic icon themes under /usr/share/icons (common cases)
|
// Generic icon themes under /usr/share/icons (common cases)
|
||||||
for (const ext of exts) {
|
for (const ext of exts) {
|
||||||
candidates.push(`/usr/share/icons/${n}.${ext}`)
|
candidates.push(`/usr/share/icons/${n}.${ext}`)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue