Skip to content

v0.5.8

Choose a tag to compare

@github-actions github-actions released this 21 May 17:24
· 14 commits to main since this release

Added

  • Sleep-on-battery threshold. New BATTERY_MIN_PERCENT config key
    (default 0 = disabled). When set, niri-screensaver-launch skips
    auto-launch if the machine is running on battery below that percentage,
    to save power. Plugged in (any AC/Mains adapter online) or no battery
    present (desktop) never skips; launch force overrides the check.
    Surfaced in the Noctalia plugin as a new Power settings section
    ("Skip on battery below %"), and reported in niri-screensaver-ctl status when enabled. Battery state is read from
    /sys/class/power_supply/* by type (so adapter/battery naming is
    irrelevant); multiple batteries use the most-drained one.

Fixed

  • niri-screensaver-ctl effects listed every TTE effect twice. tte -h
    prints the {beams,...} choices block twice (usage line + positional
    args); get_effects now takes only the first occurrence (grep -m1).