* 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
font used in colorized and z-bolt themes is liberation-sans bold 22pt (18pt for double numbers)
they are converted to paths to avoid renderers misbehaviours
Refactor post_requrest
Switching to TreeView
More spool info
redesign toggle buttons
Allow spoolman while printing
Styling checkbox as switch
render Toggle switch-like
Fixed wrong timezones
Filtering spools
Removed translations of Spoolman
Spool image can be overided in theme
Added switch-on/off symbols to toggle
rename iter to i to avoid shadowing built-in function
remove redundant parenthesis
convert spoolcompare to static
merge check and treeview shared props
reduce spacing of buttons very useful for vertical/portrait
fix issue with remainings
add spoolman shortcut to extrude
Using backports.zoneinfo for python < 3.9
use decorators for properties
extract format_date function
change top row
last used sort
rebase on upstream
Fix for never used spools
Co-authored-by: alfrix <alfredomonclus@gmail.com>