1
0
Fork 0
mirror of https://github.com/Zedfrigg/ironbar.git synced 2025-08-17 14:51:04 +02:00

refactor: make icon overrides bar-level and apply to focused module

This commit is contained in:
BowDown097 2025-01-16 21:39:06 -08:00
parent 87c680122b
commit d1b4af4710
7 changed files with 24 additions and 12 deletions

View file

@ -1,3 +1,4 @@
use std::collections::HashMap;
use std::fmt::Debug;
use std::rc::Rc;
use std::sync::Arc;
@ -71,6 +72,7 @@ pub struct ModuleInfo<'a> {
pub monitor: &'a Monitor,
pub output_name: &'a str,
pub icon_theme: &'a IconTheme,
pub icon_overrides: &'a Option<HashMap<String, String>>,
}
#[derive(Debug, Clone)]