power management start

This commit is contained in:
Jiří Maxmilián Stříbrný 2026-03-22 22:56:41 +01:00
parent 3789f5eb7b
commit 99b2e565b9
7 changed files with 281 additions and 2 deletions

View file

@ -19,9 +19,9 @@ impl App {
pub fn new() -> Self {
Self {
widgets: vec![
Box::new(ClockWidget::new()),
Box::new(Spacer::new(iced::Length::Fill)),
Box::new(ShutdownWidget::new()),
Box::new(Spacer::new(iced::Length::Fixed(5.))),
Box::new(ClockWidget::new()),
Box::new(Spacer::new(iced::Length::Fill)),
Box::new(BatteryWidget::new()),
],