Skip to content

v0.9.0 — menu presets, blank-option and Lua keybind fixes

Choose a tag to compare

@hbuddenberg hbuddenberg released this 24 Jun 14:57

Fixes

#6 — Config not working

The interactive menu now honors timeouts.presets from your config.yaml instead of showing hardcoded durations. Removing or customizing a preset (e.g. the default 15 min) now takes effect. Applies to both the Bash menu (caffeine-menu.sh) and the Waybar menu (ui-engine.sh).

#5 — Last Blank Option

Menu rendering switched from echo -e (which left a trailing empty line) to printf '%s\n'. This removes the spurious blank, unselectable option at the end of the list in walker, wofi, and rofi. UpArrow + Enter now reaches the last real option in one keypress.

#4 — Support Hyprland's new Lua config

Hyprland's Lua config is now supported. Keybind format is chosen by which config you actually have on disk (hyprland.lua vs hyprland.conf), not by the Hyprland version. This fixes keybindings silently failing for hyprland.conf users on Hyprland ≥0.55, who were wrongly switched to the Lua path. The generated Lua uses the hl.bind / hl.dsp.exec_cmd API and is pulled in via require("hyprcaffeine-keybinds").

Other

  • Installer no longer suppresses keybind-install stderr, so format/source errors surface instead of failing silently.

Install: hyprcaffeine 0.9.0 is on GitHub. AUR update is incoming. Please try it and report back!