[FEATURE] Option to hide caffeine widget when disabled
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
Privacy indicator has hide inactive toggle. This would be the same.