Refactoring of bar modules

* Moved debug functions to separate trait
* Broke up module actions and moved assembling of icon and content
  in main instead of module itself. This will enable disabling of
  icon or content via options in the future
This commit is contained in:
2025-05-11 16:02:14 -07:00
parent ade570b8af
commit b7f83b4810
5 changed files with 140 additions and 52 deletions

View File

@@ -27,5 +27,5 @@ pub struct AppOptions {
pub weather_station: String,
pub music_progress: bool,
pub debug_json: bool,
pub debug_icons: bool,
pub debug_modules: bool,
}