* Add configurable Spoolman titlebar status
* Render Spoolman titlebar item with heaters
* Prioritize explicit titlebar items including Spoolman
* Tighten Spoolman titlebar icon spacing
* Color Spoolman titlebar icon from active filament
* Make low spool alert icon fully red
* Color all spool icon fills for low alert
* Show placeholder weight when spool data is unavailable
* Rename spool titlebar config aliases
* Make spool titlebar config names explicit
* Fix pycodestyle line length issue
* Use black fallback for missing spool color
* Refetch active spool on missing spool id event
* Differentiate null and missing spool ids
* Respect titlebar limits, simplify spool alert, and document Spoolman dependency
* fix issues with implementation
* rework spoolman label spacing and style
* Fix spool icon pixbuf sizing
* Improve spool titlebar icon rendering
* Revert "Improve spool titlebar icon rendering"
This reverts commit 3039df0c7cd8a60c1b3e5e3df59bbe06cacd6829.
* Align spool titlebar rendering with tested layout
* set a low limit equal to the one in the docs
* spoolman_low use warning instead of error due to high usage warning causing low visibility, it also improves contrast overall
* remove usage or regular expressions
reason is performance overhead and maintanability concerns
---------
Co-authored-by: Alfredo Monclus <alfredomonclus@gmail.com>
* Initial commit, added psutil for getting tablet/laptop battery percentage, initial code for getting the values and displaying the icon
* add battery svgs for light theme
* added light styled battery svgs for dark themes
* update icon based on battery percentage and if device is charging
* indentation fix, and forgot to add battery plugged checks for 33% and 66% battery levels
* move battery polling to its own timer now that i understand how to add an additional timer, checks every 30 seconds. check for if show battery is on or off
* add toggle to config for settings
* show battery callback as screen.restart_ks instead of just reloading panels
* move self.battery_percentage() to end of reload_icons this ensures that when a theme is changed the icon is updated instead of waiting for the timeout to update the icon again
* remove left over commented out code
* only call self.battery_percentage when config is true
* adjust tooltip message
* split creatation of elements from updating elements
* change print to logging.debug, handle rouding for percentage in the f-string
* remove code that was moved to `attery_init()`, only destroy icon element when updating icons/percentage text, remove redundant calls to `.pack_start` (just call it once after setting the icon).
* only create battery_update timer if config setting is true
* new material icons remove old icons
* `self.battery_init() in `__init__` def
* fix: lint
* refactors
* style: update icons to follow themes
* refactor: remove config, make the show/hide automatic
* style: bigger battery icons for z-bolt and colorized
---------
Co-authored-by: MrTylerjet <MrTylerjet@gmail.com>
* ws: fix issue that made buttons busy forever fixes#1087
* ws: reduce to high_idle due to touch not as responsive
* ws: make string translatable
* less animation steps for the spinner
the slower spinning gear icon is actually more pleasant to look
1. use the status reference instead of regex matching (this was coded before the status existed)
2. change icons to reflect the rotation direction
3. change icon to reflect that the adjustment is good enough (according to klipper docs below 6 minutes)
4. auto open the panel when screws_tilt_calculate finished
close#1231
* feat: macro prompts close#1216
now the user can have confirmation on macros using this feature close#835
* prompt: remove separator and remove the header and close button if windowed
* prompt: wakeup screen
* prompt: slightly larger close icon