7 Commits

Author SHA1 Message Date
7245914da8
Added mechanism to skip updates in a module
* This is useful in modules where HTTP API calls are made. Updating them
  every second is expensive, network intensive and can cause rate limits
  to be hit
* Added get_name() function to modules for easier debug statements
2025-06-14 17:33:24 -07:00
79e1a5956e
Clear data before new bar display iteration
This makes sure that data displayed is always fresh
2025-06-07 21:19:02 -07:00
c2eee03ac2
Trimmed progress display 2025-06-07 16:15:34 -07:00
a2d9c768f8
new() returns Self 2025-05-11 20:42:11 -07:00
b8b0afd945
Added icon to music module 2025-05-11 20:22:13 -07:00
b7f83b4810
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
2025-05-11 16:02:14 -07:00
e1f2518239
Implementation of modules in separate structs 2025-05-04 22:13:41 -07:00