Commit Graph

32 Commits

Author SHA1 Message Date
asolkar 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
asolkar e8ab11eff9 More null handling in weather API responses 2025-06-14 16:55:26 -07:00
asolkar 91b02c24fb Error handling to keep unibar from dying
* Handled the case where network goes down and Curl errors out fetching
  weather data
2025-06-08 19:40:02 -07:00
asolkar c33360fb7b Time zone name instead of offset in time display 2025-06-08 09:59:59 -07:00
asolkar be96618f76 General clean up 2025-06-07 21:53:32 -07:00
asolkar aeefa114e6 README update 2025-06-07 21:27:12 -07:00
asolkar e25a8df19e Reintroduced weather module removed by mistake 2025-06-07 21:26:52 -07:00
asolkar 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
asolkar 4452cdbaa0 Added date and time modules 2025-06-07 20:42:23 -07:00
asolkar 0b7ff61da0 Added forever-loop to update bar contents at interval
* New argument --interval to specify update interval
2025-06-07 20:14:34 -07:00
asolkar 51253240b3 README update 2025-06-07 16:29:03 -07:00
asolkar 00079662df Added power module 2025-06-07 16:15:56 -07:00
asolkar c2eee03ac2 Trimmed progress display 2025-06-07 16:15:34 -07:00
asolkar eba6f977ec Code clean up 2025-06-07 16:15:17 -07:00
asolkar 17ce090ef8 General clean up
* Option changed: --debug-icons -> --debug-modules
2025-06-06 18:10:43 -07:00
asolkar 750a2813d3 Changed debug option names
* --debug-json -> --debug
* --debug-modules -> --debug-icons
2025-06-06 17:57:14 -07:00
asolkar c84e9698d7 Added CPU usage module 2025-06-06 17:50:16 -07:00
asolkar e6719dc6f5 Use available mem instead of free mem 2025-06-06 17:48:35 -07:00
asolkar 8bad155f15 Added memory module 2025-06-03 17:26:30 -07:00
asolkar 9b79fcd904 Reordered modules 2025-05-23 23:49:09 -07:00
asolkar b62c9cd484 Network icons based on wifi/ethernet
Some refactoring
2025-05-23 23:48:23 -07:00
asolkar 2be0d56655 New network module 2025-05-22 17:49:30 -07:00
asolkar a2d9c768f8 new() returns Self 2025-05-11 20:42:11 -07:00
asolkar a0d19b870c Added example output in README 2025-05-11 20:30:34 -07:00
asolkar b8b0afd945 Added icon to music module 2025-05-11 20:22:13 -07:00
asolkar 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
asolkar ade570b8af Added weather symbols 2025-05-10 20:39:43 -07:00
asolkar 710399628b Update usage 2025-05-05 05:15:52 +00:00
asolkar e1f2518239 Implementation of modules in separate structs 2025-05-04 22:13:41 -07:00
asolkar a20e1d8336 Initial verison of implementation 2025-05-04 18:50:21 -07:00
asolkar 480ba07c45 Updated README with initial information 2025-05-04 18:49:54 -07:00
asolkar f744922be1 Initial commit 2025-05-04 17:36:09 +00:00