noctalia-shell icon indicating copy to clipboard operation
noctalia-shell copied to clipboard

[FEATURE] Option to hide caffeine widget when disabled

Open axgfn opened this issue 3 months ago • 1 comments

Submission checklist

  • [x] I have searched existing issues and confirmed this has not been requested before.
  • [x] I have checked existing pull requests for similar changes.

Feature type

UI / visual improvement

Feature summary

Add an option to hide the caffeine widget when caffeine mode is disabled.

Motivation / use case

I don't want the caffeine widget to permanently take up space in my bar, but I still want a persistent visual reminder when it does happen to be enabled (for example, from the quick toggle in the control center).

Proposed solution

Add a new boolean option, hide_when_disabled, to the Caffeine widget. When set to true, the Caffeine widget will only appear when Caffeine is enabled (from the Control Center or IPC/keybinds, since the widget itself will no longer be able to enable it if it's hidden).

Alternatives considered

No response

References / related projects

No response

Additional context

No response

axgfn avatar Sep 05 '26 16:09 axgfn

Privacy indicator has hide inactive toggle. This would be the same.

shaplyd avatar Sep 06 '26 11:09 shaplyd