/ublue-updater

WIP update daemon for uBlue

Primary LanguagePythonApache License 2.0Apache-2.0

ublue-updater

Small update program written in python intended for use in uBlue, executes update scripts in /etc/update.d

dependencies (fedora): sudo dnf install python3-notify2 python3-psutil

Usage

You can add this to your image by simply pulling down and installing the rpm

COPY --from=ghcr.io/gerblesh/ublue-updater:latest /rpms/ublue-updater.noarch.rpm /tmp/rpms/
RUN rpm-ostree install /tmp/rpms/ublue-updater.noarch.rpm

Configuration

Location

valid config paths (in order of priority)

"$HOME"/.config/ublue-updater/ublue-updater.conf

/etc/ublue-updater/ublue-updater.conf

/usr/etc/ublue-updater/ublue-updater.conf

Config Variables

section: checks

battery_percent: checks if battery is above specified percent

cpu_load: checks if cpu average load is under specified percent