Commit Graph
6 Commits
Author SHA1 Message Date
Yocraft-2000andGitHub e9121c114c Update Battery widget plugin (#311)
* fix: invalid check in getWarningThreshold

* fix: invalid status

* feat: use dbus events instead of polling

* fix: invalid status again

* fix: dump version and set valid plugin API

* fix: add commandExists check

* fix: getColor function (warning color when not charging)

* feat: use upower instead of cat /sys

* feat: notify on error

* fix: cleaner code

* fix: use noctalia.tr for notification (not logs, intended)

* feat: migrate from dbus-monitor to gdbus (everything in one line)

* feat: use gdbus to init and update, parse only when needed

* feat: add label_content and optimisations

* fix: remove multiple commands check not needed anymore

* fix: update README and dump version

* fix: default data, warning_threshold check, floor percent
2026-08-12 09:37:30 -04:00
Lemmy 23b53d6baf chore(i18n): update 2026-08-06 10:33:14 -04:00
Lemmy f5bd62e81b chore(i18n): update 2026-08-05 17:59:17 -04:00
Yocraft-2000andGitHub ef4c3996fd Update Battery widget plugin (#201)
* fix: setUpdateInterval in update function

* fix: add shellEscape on cat command

* dump version

* fix: migrate settings to desktop_widget.settings

* feat: auto gap based on the layout

* feat: retrieve warning threshold from noctalia's settings
2026-08-02 11:34:10 -04:00
Lemmy d181b08d8c chore(i18n): push/pull 2026-08-01 09:03:44 -04:00
Yocraft-2000andGitHub 6db8390fd5 Add Battery widget plugin (#178)
* Init

* fix: remove placeholder (weird bugs)

* fix: README

* fix: return if battery not found

* fix: add "Not Charging" status

* fix: insert in content table

* feat: add error color when under 20% and discharging

* feat: add warning color setting

* fix(README): longer plugin description and settings descriptions

* feat: add color and charging color

* fix: default charging color
2026-07-31 23:15:04 -04:00