mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-08-17 23:01:04 +02:00
feat: change icon_overrides
to apply to all resolved images
This commit is contained in:
parent
3e55d87c3a
commit
3a0e102afc
7 changed files with 18 additions and 64 deletions
|
@ -166,10 +166,7 @@ impl Provider {
|
|||
) -> Result<Option<ImageLocation>> {
|
||||
const MAX_RECURSE_DEPTH: u8 = 2;
|
||||
|
||||
let input = self
|
||||
.overrides
|
||||
.get(input)
|
||||
.map_or(input, String::as_str);
|
||||
let input = self.overrides.get(input).map_or(input, String::as_str);
|
||||
|
||||
let should_parse_desktop_file = !Self::is_explicit_input(input);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue