* 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>
new users can find it overwhelming, and even some very experienced users i've talked to never touch this
for those reasons disabled by default make sense
* 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>
make the notification contain the name of the printer
use avg cpu instead of individual core to be less intrusive, also because moonraker seems to report higher core usage than htop, which is strange
shutdown maintain estop during printing
add option to shudown both host and printer close#1207
simplify host and printer dialog if ks is local, do both
improves performance and makes the code cleaner
* add parameters instead of calling methods afterwards
* remove a a lot of size requests
* remove parameters that are being set to the default value
* simplify dialogs containers
* 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
this removes create_panel function from panels and mandates a class name Panel
remove panel_type param and only use a panel_name that is it's filename
remove load_panel dict
always reinit panel, (simpler and safer but slower)
* Preserve manual capitalization
Avoid re-capitalizing names that already include uppercase letters.
This improves the presentation of names like "TMC2209", etc. when the
user has manually capitalized the name.
* Use title case
Use title case instead of only capitalizing the first character.
Ex. `heater_bed` now becomes "Heater Bed" instead of "Heater bed".