use cosmic::app::{self, applet::cosmic_panel_config::PanelAnchor, Command}; use cosmic::iced::wayland::popup::{destroy_popup, get_popup}; use cosmic::iced::{ time, widget::{button, column, text, vertical_space}, window, Alignment, Length, Rectangle, Subscription, }; use cosmic::iced_style::application; use cosmic::theme; use cosmic::{ widget::{icon, rectangle_tracker::*}, Element, Theme, }; use chrono::{DateTime, Local, Timelike}; use std::time::Duration; pub fn main() -> cosmic::iced::Result { cosmic::app::applet::run::