Changed an icon

This commit is contained in:
Jiří Maxmilián Stříbrný 2026-03-17 21:15:46 +01:00
parent 2fc7a6a8da
commit e857dd93cc
5 changed files with 26 additions and 7 deletions

View file

@ -21,7 +21,7 @@ pub fn main() -> Result<(), iced_layershell::Error> {
size: Some((0, 32)),
exclusive_zone: 32,
anchor: Anchor::Top | Anchor::Left | Anchor::Right,
start_mode: iced_layershell::settings::StartMode::AllScreens, // valid here in daemon
start_mode: iced_layershell::settings::StartMode::AllScreens,
..Default::default()
},
..Default::default()
@ -120,7 +120,7 @@ impl PanelWidget for BatteryWidget {
fn view(&self) -> Element<'_, Message> {
match self.battery {
Some(battery) => text!("{} {}", battery.to_string(), Self::get_icon(battery)),
None => text("󱉞"),
None => text("󰂃"),
}
.into()
}