marcoceppi / ublue-updater

WIP update daemon for uBlue

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

WIP update daemon for uBlue

License:Apache License 2.0


Languages

Language:Python 67.3%Language:Dockerfile 13.4%Language:Makefile 11.9%Language:Shell 7.3%