feat: new focused window module

This commit is contained in:
Jake Stanger
2022-08-14 20:40:11 +01:00
parent e416e03b0a
commit dc14cb003f
13 changed files with 222 additions and 88 deletions

View File

@@ -30,7 +30,12 @@ impl Module<Button> for ClockModule {
fn into_widget(self, info: &ModuleInfo) -> Button {
let button = Button::new();
let popup = Popup::new("popup-clock", info.app, Orientation::Vertical, info.bar_position);
let popup = Popup::new(
"popup-clock",
info.app,
Orientation::Vertical,
info.bar_position,
);
popup.add_clock_widgets();
button.show_all();