Alfredo Monclus
4d6c5a35a0
fix: set dev requirements to gtk3
2024-12-15 15:15:22 -03:00
Alfredo Monclus
a7b8c4cfeb
chore(deps): update pygobject and pycairo dependencies
2024-10-13 13:57:13 -03:00
Alfredo Monclus
5ae4e475b6
feat: battery status ( #1457 )
...
* 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>
2024-10-09 17:34:33 -03:00
Alfredo Monclus
66e8a09a66
fix: wait for moonraker if present, this will aid those slow system to not fail the connection on startup and having to retry
2024-09-24 16:52:21 -03:00
Alfredo Monclus
cee185e21e
fix(installer): platforms that don't have dep binaries available may need to build sdbus from source
...
close #1430
2024-07-13 16:26:08 -03:00
Alfredo Monclus
05bbe4cdd3
refactor(installer): add an additional check to env removal in case an invalid external variable was set
...
https://github.com/dw-0/kiauh/issues/488
2024-07-09 16:56:59 -03:00
dependabot[bot]
a559b817bd
build(deps): bump python-mpv from 1.0.6 to 1.0.7 ( #1411 )
...
Bumps [python-mpv](https://github.com/jaseg/python-mpv ) from 1.0.6 to 1.0.7.
- [Commits](https://github.com/jaseg/python-mpv/compare/v1.0.6...v1.0.7 )
---
updated-dependencies:
- dependency-name: python-mpv
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-05 20:58:54 -03:00
dependabot[bot]
b4921cd295
build(deps): bump pycairo from 1.26.0 to 1.26.1 ( #1412 )
...
Bumps [pycairo](https://github.com/pygobject/pycairo ) from 1.26.0 to 1.26.1.
- [Release notes](https://github.com/pygobject/pycairo/releases )
- [Changelog](https://github.com/pygobject/pycairo/blob/main/NEWS )
- [Commits](https://github.com/pygobject/pycairo/compare/v1.26.0...v1.26.1 )
---
updated-dependencies:
- dependency-name: pycairo
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-05 20:58:38 -03:00
breakheart
0ef9021e82
change sh to bash ( #1404 )
...
'[[' used in line 14 is not supported by sh
2024-06-20 23:01:37 -03:00
Alfredo Monclus
abdbd5aa12
installer: clarify the reconnect to the user
2024-06-07 10:04:38 -03:00
Alfredo Monclus
40ce34f93b
installer: fix for nm
2024-06-04 17:24:44 -03:00
Alfredo Monclus
4334535783
add dev requirements
2024-06-04 09:45:39 -03:00
Alfredo Monclus
e112786c02
installer: fix typos
2024-06-03 14:27:33 -03:00
dependabot[bot]
50481f6dc1
build(deps): bump requests from 2.32.2 to 2.32.3 ( #1388 )
...
Bumps [requests](https://github.com/psf/requests ) from 2.32.2 to 2.32.3.
- [Release notes](https://github.com/psf/requests/releases )
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md )
- [Commits](https://github.com/psf/requests/compare/v2.32.2...v2.32.3 )
---
updated-dependencies:
- dependency-name: requests
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-03 09:58:28 -03:00
Alfredo Monclus
b90a6f6037
installer: to be more effective disable dhcpd and reboot when installing nm
2024-06-03 08:44:14 -03:00
Alfredo Monclus
7ce29ab539
make the installer start nm
2024-06-02 07:02:41 -03:00
Alfredo Monclus
a06d880f17
installer: cleaner questions, split default statement
2024-06-02 06:48:11 -03:00
Alfredo Monclus
06e69a71f3
installer: ask for network-manager
2024-06-02 06:48:11 -03:00
Alfredo Monclus
67767e3742
deps: cleanup
2024-06-02 06:48:11 -03:00
Bruno
d0e9dd0352
KlipperScreen Install Fix ( #1385 )
...
Fixed Syntax Error from line 154 when running install script.
2024-05-31 07:45:59 -03:00
Alfredo Monclus
1578665b71
installer: always cleanup old env
2024-05-30 09:01:16 -03:00
Alfredo Monclus
9889f551cc
Revert "printer: add pwm tool count to init"
...
This reverts commit 6aad7880180366d6a1b91ea0f48fed2aadeb2722.
2024-05-29 14:28:42 -03:00
Alfredo Monclus
6aad788018
printer: add pwm tool count to init
2024-05-29 14:27:25 -03:00
Alfredo Monclus
e39c286f00
deps: requests 2.32 doesn't support 3.7
2024-05-27 22:34:04 -03:00
Alfredo Monclus
6815e9cabc
network: improvements in error handling
2024-05-25 23:56:07 -03:00
dependabot[bot]
bf4d361403
build(deps): bump requests from 2.31.0 to 2.32.2 in /scripts ( #1374 )
...
Bumps [requests](https://github.com/psf/requests ) from 2.31.0 to 2.32.2.
- [Release notes](https://github.com/psf/requests/releases )
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md )
- [Commits](https://github.com/psf/requests/compare/v2.31.0...v2.32.2 )
---
updated-dependencies:
- dependency-name: requests
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-24 19:17:48 -03:00
Alfredo Monclus
a80b881015
network: new NetworkManager backend using sdbus ( #1269 )
...
* network: new NetworkManager backend using sdbus
drop support for old methods
* rescan changes
* add wifi on-off
2024-05-24 19:13:35 -03:00
Alfredo Monclus
524aa0e7dc
drop python 3.7 support ( #1271 )
...
* drop python 3.7 support
start using PEP 572 assignment expressions
Update FAQ
improve how unsupported versions are informed
this should be clearer on why we refuse to continue
* add more asign-expressions
2024-05-24 19:13:19 -03:00
Alfredo Monclus
564db518da
update translation files
2024-05-23 23:38:47 -03:00
dependabot[bot]
b4507aef62
build(deps): bump python-mpv from 1.0.5 to 1.0.6 ( #1354 )
...
Bumps [python-mpv](https://github.com/jaseg/python-mpv ) from 1.0.5 to 1.0.6.
- [Commits](https://github.com/jaseg/python-mpv/compare/v1.0.5...v1.0.6 )
---
updated-dependencies:
- dependency-name: python-mpv
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-08 06:17:15 -03:00
dependabot[bot]
2ab8d3f985
build(deps): bump jinja2 from 3.1.3 to 3.1.4 ( #1356 )
...
Bumps [jinja2](https://github.com/pallets/jinja ) from 3.1.3 to 3.1.4.
- [Release notes](https://github.com/pallets/jinja/releases )
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst )
- [Commits](https://github.com/pallets/jinja/compare/3.1.3...3.1.4 )
---
updated-dependencies:
- dependency-name: jinja2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-08 06:14:33 -03:00
alfrix
ab658e58f7
installer: fix a dep issue
2024-05-04 18:04:14 -03:00
dependabot[bot]
c873ebe261
build(deps): bump websocket-client from 1.6.1 to 1.8.0 ( #1349 )
...
Bumps [websocket-client](https://github.com/websocket-client/websocket-client ) from 1.6.1 to 1.8.0.
- [Release notes](https://github.com/websocket-client/websocket-client/releases )
- [Changelog](https://github.com/websocket-client/websocket-client/blob/master/ChangeLog )
- [Commits](https://github.com/websocket-client/websocket-client/compare/v1.6.1...v1.8.0 )
---
updated-dependencies:
- dependency-name: websocket-client
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-01 15:43:47 -03:00
alfrix
9a56026612
installer: explain the options a bit more
2024-04-28 22:37:09 -03:00
alfrix
8b861cd039
deps: drop python3-distutils fixes #1345 , also drop virtualenv
...
distutils was needed previous to the switch to pygobject, now the gobject library marks that package as needed if necessary, so there is no need for adding it explicitly
virtualenv is faster to install packages it was particularly notorious on numpy, but since i've dropped numpy and matplotlib, it doesn't make much difference and adds unnecesary dependencies
2024-04-26 22:58:41 -03:00
Alfredo Monclus
6cd1a8e12f
Add an alternative to X close #1289 ( #1306 )
...
* Changes to allow using cage-kiosk
Wayland support close #1289
* installer: many improvements
* installer: add notes about wayland status
* deps: don't pull xserver with updates
2024-04-03 14:32:32 -03:00
alfrix
e5280b8d7a
deps: don't pull in networkmanager with the updates close #1319
2024-04-03 13:56:02 -03:00
alfrix
aac1801ceb
startup change bash to sh
...
in debian /bin/sh points to dash which is more lightweight
2024-04-01 11:46:32 -03:00
dependabot[bot]
48b374c73e
build(deps): bump pygobject from 3.44.1 to 3.48.1 ( #1299 )
...
Bumps [pygobject]() from 3.44.1 to 3.48.1.
---
updated-dependencies:
- dependency-name: pygobject
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-18 08:33:09 -03:00
alfrix
9052481af3
service: fix #1297
2024-03-09 18:37:16 -03:00
alfrix
74e9f61c40
service unit updates
2024-03-04 19:59:43 -03:00
alfrix
8db8df99f0
installer: move all the pkg related to x together
2024-03-03 22:19:13 -03:00
Stephan Wendel
2c778cce7f
fix install in chroot fixes #1291
...
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2024-03-03 21:52:52 -03:00
alfrix
597d4301b6
installer: cleanups
2024-03-02 17:30:03 -03:00
alfrix
e0af63774d
changes for bookworm
2024-03-02 00:38:02 -03:00
alfrix
0570706bbe
installer: fixup polkit permissions
2024-02-29 14:59:15 -03:00
alfrix
f0abcfb0b0
Revert "build(deps): bump pycairo from 1.23.0 to 1.26.0 ( #1278 )"
...
This reverts commit 4ab595cde867353da31a68b280947d3635393ae8.
2024-02-19 09:50:28 -03:00
dependabot[bot]
4ab595cde8
build(deps): bump pycairo from 1.23.0 to 1.26.0 ( #1278 )
...
Bumps [pycairo](https://github.com/pygobject/pycairo ) from 1.23.0 to 1.26.0.
- [Release notes](https://github.com/pygobject/pycairo/releases )
- [Changelog](https://github.com/pygobject/pycairo/blob/main/NEWS )
- [Commits](https://github.com/pygobject/pycairo/compare/v1.23.0...v1.26.0 )
---
updated-dependencies:
- dependency-name: pycairo
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-19 09:49:54 -03:00
dependabot[bot]
9d9235712c
build(deps): bump pycairo from 1.23.0 to 1.26.0 ( #1272 )
...
Bumps [pycairo](https://github.com/pygobject/pycairo ) from 1.23.0 to 1.26.0.
- [Release notes](https://github.com/pygobject/pycairo/releases )
- [Changelog](https://github.com/pygobject/pycairo/blob/main/NEWS )
- [Commits](https://github.com/pygobject/pycairo/compare/v1.23.0...v1.26.0 )
---
updated-dependencies:
- dependency-name: pycairo
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-18 17:35:01 -03:00
alfrix
acb187970f
requirements: add known minimum versions for jinja and requests
2024-01-27 13:11:58 -03:00