Hotkey indicators are simple, non-interactive widgets designed to display changes in volume and brightness.
The indicators appear only on the built-in display (display:0) when volume or brightness events are detected.
Note that the hotkey indicators will not appear when the Quick Settings widget is open. This is by design.
Volume Mute Button In Quick Settings:
Volume can now be muted by clicking the speaker icon in the Quick Settings widget.
Volume Icon Now Accurately Displays Muted State
Changed From Polling To Event Listeners:
Replaced some polling variables with event listeners to enhance efficiency.
Added the get_mut option in audio-ctrl script to retrieve the current mute status.
Adjusted audio-ctrl script to automatically unmute audio if a volume level change is detected.
This change affects Ghaf as a whole, due to most (if not all) audio control being done through audio-ctrl.
UI & Formatting Clean-up:
Cleaned up .yuck and .scss formatting for better readability and maintainability.
Removed unused widgets and styles.
Moved color definitions to .scss for easier theming and maintenance.
Known Issues/Limitations:
Bluetooth Status Not Currently Fetched
More investigation needed to find a good way of listening for bluetooth events and updating status.
Hotkey Indicator May Become Slow To Respond
Hotkey indicator may slow down and appear to "lag" when multiple brightness and volume events are triggered at the same time.
Checklist for things done
[x] Summary of the proposed changes in the PR description
[x] More detailed description in the commit message(s)
[x] Commits are squashed into relevant entities - avoid a lot of minimal dev time commits in the PR
Description of changes
Added Hotkey Indicators:
Volume Mute Button In Quick Settings:
Volume Icon Now Accurately Displays Muted State
Changed From Polling To Event Listeners:
get_mut
option in audio-ctrl script to retrieve the current mute status.UI & Formatting Clean-up:
.yuck
and.scss
formatting for better readability and maintainability..scss
for easier theming and maintenance.Known Issues/Limitations:
Bluetooth Status Not Currently Fetched
Hotkey Indicator May Become Slow To Respond
Checklist for things done
x86_64
aarch64
riscv64
make-checks
and it passesnixos-rebuild ... switch
Instructions for Testing
nixos-rebuild ... switch