forked from max_ag/wayland_panel
power management start
This commit is contained in:
parent
3789f5eb7b
commit
99b2e565b9
7 changed files with 281 additions and 2 deletions
|
|
@ -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()),
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue