1
0
Fork 0
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:
Jake Stanger 2025-05-25 15:52:27 +01:00
parent 3e55d87c3a
commit 3a0e102afc
No known key found for this signature in database
GPG key ID: C51FC8F9CB0BEA61
7 changed files with 18 additions and 64 deletions

View file

@ -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);