Repository navigation
Releases
Releases · amazynk/dozed
Dozed 0.1.1
Added
- A Discord button in the dashboard. The footer of
dozed-guihas a button
that opens the community's Discord in your browser. The dashboard hands the
address to the desktop's own opener and fetches nothing itself. - The other Amazynk apps, from the dashboard. A More apps menu beside
the Discord button names Specular (a viewer for photos, RAW, video and
audio) and Pagebara (a PDF viewer and editor), and opens each one's page in
your browser, where its downloads are. Nothing is downloaded by the
dashboard, and it does not look for what is installed.
Dozed 0.1.0
The first public release, and the first version that does the whole job.
Added
- The daemon, dry-run by default.
dozedwatches which apps are hidden,
waits out a grace period, and holds the ones a rule names. Indry-runit
records what it would have done and touches nothing;dozectl mode liveis
a deliberate act. (DESIGN.md§3) - An action ladder. Freeze through the cgroup freezer, or the process tree
where an app has no cgroup of its own; a CPU cap (throttle) for apps that
must stay connected; and maintenance windows (doze-cycle) that let a frozen
app up for air on a shared schedule. (DESIGN.md§7) - A grace model with one setting.
aggressionisgentle,balanced,
aggressiveormaximum; grace is doubled on mains and shortens with the
charge left on battery. (DESIGN.md§8) - Rules, first match wins. A starter config of named rules written on first
install, with every field explained in the file.dozed --checkprints the
effective table, anddozectl upgrade-presetsoffers the rules a later
version ships that an older config predates. (DESIGN.md§9, §15) - Exemptions for anything somebody else can hear or see. Audio, the
microphone and the camera, screen sharing and the windows being shared,
inhibitors, long-running jobs, and remote-desktop hosts, which are capped
rather than frozen. Each is a watched signal, anddozectl statussays per
source whether it is reporting. (DESIGN.md§10) - Four focus sources. A KWin script for KDE Plasma on Wayland, a Shell
extension for GNOME 45 to 49 on Wayland, the compositor's own IPC for Sway
and i3, and EWMH on X11. (DESIGN.md§12) dozectl.status,watch,why,report,apps,journal,
snooze,mode,thaw --all,reload,exportfor Prometheus,traceand
replay. Manuals and shell completions are generated from the same
definitions. (DESIGN.md§11, §14)- A self-trial.
dozectl trialalternates live and dry-run blocks on an
idle desktop and reports a saving with a confidence interval, or "no
measurable difference". On battery it judges on discharge; with--on-mains,
where RAPL is readable, on CPU package energy. (DESIGN.md§11.2) - Rule tuning by search.
dozectl suggestreplays a recorded dry-run day
against variations of the running config and recommends one only if it
interrupts no more than the current one does. (DESIGN.md§14.1) - A dashboard and a tray icon.
dozed-guishows what is held and why, with
per-app thaw, freeze and throttle, a config editor, and in-app help. The tray
shows the state, with the panic thaw and the snooze one click away.
(DESIGN.md§12) - Thermal and fullscreen predicates.
thermal = "hot"and
other_app_fullscreen = trueact for quiet and for latency, on mains too.
(DESIGN.md§7.3) - An installer that wants no root.
packaging/install.shputs everything
under$HOME, leaves an edited unit and an existing config alone, and
--uninstalltakes every piece back out. (DESIGN.md§15) - Checks against real compositors.
packaging/verify-matrix.shruns the
daemon against headless Sway and nested X11 and reports which were actually
exercised. GNOME is not among them.
DESIGN.md §16 records what was verified against a live session or a real
kernel, and — as importantly — what was not.
Install
There is no packaged build yet: 0.1 installs from source, under $HOME, without root.
git clone https://github.com/amazynk/dozed.git
cd dozed
./packaging/install.sh
systemctl --user enable --now dozed.serviceIt starts in dry-run. See the README and amazynk.com/dozed.