Repository navigation
Add status indicator cluster for waybar - #570
Conversation
|
Thanks for this, but I don't want to add a permanent icon to something that for most people is very rarely used. But! Maybe there's a way to have it just show up when DND is active. Just don't want it to be a constant process for something that's a rare use case. If we can solve this well, maybe we can also get an icon for nightlight and for screen recording running and for idle lock off. There are a handful of these states that it would be nice to represent with an icon when they're on. But it needs to be super light! |
ffcacbc to
14fa1a7
Compare
|
@dhh I still want to test this on a fresh install, just to be extra sure everything is working as expected, but some eyes here would be good in the meantime. Tips on what is the best way to test those changes in our current system and on fresh systems are welcome. On this iteration I literally created direct links to my Omarchy repository, or copy/pasted after changes. |
52b03ff to
b540c3c
Compare
|
I just added a click handler to the recording icon as well, so you can stop recording by clicking it. |
098d5ce to
792b50f
Compare
Adds a visual indicator in the waybar to show when notifications are silenced (do-not-disturb mode). - Shows a red dot when notifications are disabled - Shows a dimmed dot when notifications are enabled - Clicking the indicator toggles do-not-disturb mode - Syncs with the existing SUPER+CTRL+, keyboard shortcut This provides immediate visual feedback about notification status, making it easier for users to know when they've silenced notifications.
- Only displays indicators when states are actually active - Supports multiple status types: DND, night light, screen recording, idle lock - Uses distinct symbols: • for DND, ◐ for night light, ● for recording, ◯ for idle lock - Completely hides module when no states are active (no visual clutter) - Extensible design for future status indicators - Improved performance with better error handling
- Add wl-screenrec detection for non-nvidia systems - Add click handler to start/stop recording - Fix idle lock toggle functionality
792b50f to
8f455de
Compare
|
This is very cool. Great work. We need to keep an eye on whether polling these four modules every second has any performance/cpu load impact, but other than that, I really like it! |
|
@dhh Thank you! It works well on most of my machines but I saw a small bug on another device: when I disabled night light (or standby lock, can't remember), it presented the record icon, but I could not reproduce it anymore. Let's keep an eye. |
|
On first boot I'm seeing the indicator for recording. So there's an issue with that. |
|
maybe a timing issue with the hash? |
|
I'm outside now but as soon as I'm back I will try to reproduce this. When you say first boot, is it the first boot ever or a restart would do? But it is probably a timing issue with the hash |
|
It's first-boot ever I'm seeing this on. |
|
Hmm, that recording dot seems pretty flaky. Also seeing it on restarts. Going to remove it for now. Do open a PR when you've found what's up 👌 |
|
Yes, it works fine on my Alienware M15 R7 (with or without Studio Display), but I've seen a very flaky behavior on other hardware. I will circle back with a better approach to it. |
* feat: Add notification status indicator to waybar Adds a visual indicator in the waybar to show when notifications are silenced (do-not-disturb mode). - Shows a red dot when notifications are disabled - Shows a dimmed dot when notifications are enabled - Clicking the indicator toggles do-not-disturb mode - Syncs with the existing SUPER+CTRL+, keyboard shortcut This provides immediate visual feedback about notification status, making it easier for users to know when they've silenced notifications. * feat: Convert to unified status cluster that only shows active states - Only displays indicators when states are actually active - Supports multiple status types: DND, night light, screen recording, idle lock - Uses distinct symbols: • for DND, ◐ for night light, ● for recording, ◯ for idle lock - Completely hides module when no states are active (no visual clutter) - Extensible design for future status indicators - Improved performance with better error handling * Implement lightweight hybrid status monitoring * Enhance notification status cluster with modular design * Add waybar configuration for status cluster * Add recording click handler and fix process detection - Add wl-screenrec detection for non-nvidia systems - Add click handler to start/stop recording - Fix idle lock toggle functionality * minor alignment tweaks * improved recording detection to be more specific * Rely on Omarchy bin in PATH and lower interval to feel more snappy * Seperate out screencording stop so it doesn't start when trying to stop OBS * Add migration to add the status notifications --------- Co-authored-by: David Heinemeier Hansson <[email protected]>
* feat: Add notification status indicator to waybar Adds a visual indicator in the waybar to show when notifications are silenced (do-not-disturb mode). - Shows a red dot when notifications are disabled - Shows a dimmed dot when notifications are enabled - Clicking the indicator toggles do-not-disturb mode - Syncs with the existing SUPER+CTRL+, keyboard shortcut This provides immediate visual feedback about notification status, making it easier for users to know when they've silenced notifications. * feat: Convert to unified status cluster that only shows active states - Only displays indicators when states are actually active - Supports multiple status types: DND, night light, screen recording, idle lock - Uses distinct symbols: • for DND, ◐ for night light, ● for recording, ◯ for idle lock - Completely hides module when no states are active (no visual clutter) - Extensible design for future status indicators - Improved performance with better error handling * Implement lightweight hybrid status monitoring * Enhance notification status cluster with modular design * Add waybar configuration for status cluster * Add recording click handler and fix process detection - Add wl-screenrec detection for non-nvidia systems - Add click handler to start/stop recording - Fix idle lock toggle functionality * minor alignment tweaks * improved recording detection to be more specific * Rely on Omarchy bin in PATH and lower interval to feel more snappy * Seperate out screencording stop so it doesn't start when trying to stop OBS * Add migration to add the status notifications --------- Co-authored-by: David Heinemeier Hansson <[email protected]>
* feat: Add notification status indicator to waybar Adds a visual indicator in the waybar to show when notifications are silenced (do-not-disturb mode). - Shows a red dot when notifications are disabled - Shows a dimmed dot when notifications are enabled - Clicking the indicator toggles do-not-disturb mode - Syncs with the existing SUPER+CTRL+, keyboard shortcut This provides immediate visual feedback about notification status, making it easier for users to know when they've silenced notifications. * feat: Convert to unified status cluster that only shows active states - Only displays indicators when states are actually active - Supports multiple status types: DND, night light, screen recording, idle lock - Uses distinct symbols: • for DND, ◐ for night light, ● for recording, ◯ for idle lock - Completely hides module when no states are active (no visual clutter) - Extensible design for future status indicators - Improved performance with better error handling * Implement lightweight hybrid status monitoring * Enhance notification status cluster with modular design * Add waybar configuration for status cluster * Add recording click handler and fix process detection - Add wl-screenrec detection for non-nvidia systems - Add click handler to start/stop recording - Fix idle lock toggle functionality * minor alignment tweaks * improved recording detection to be more specific * Rely on Omarchy bin in PATH and lower interval to feel more snappy * Seperate out screencording stop so it doesn't start when trying to stop OBS * Add migration to add the status notifications --------- Co-authored-by: David Heinemeier Hansson <[email protected]>
|
@alansikora Hey, I'm running omarchy 3.0.2 and I don't see the "nightlight" indicator when it's enabled. Does it work for you now? |
|
This work was reverted because it unfortunately was a bit flaky. Now we have a different approach for the recording dot. Would be nice to bring back some of the other indicators. |
Keep the runtime's detector out of the snapshot check's no-detector test

Add Status Indicator Cluster for Waybar
This PR adds a new status indicator system to waybar that provides visual feedback about various system states.
New Functionality
Adds a group of status indicators that appear in the waybar when certain system conditions are active:
Indicators only appear when their state is active. When no states are active, no indicators are shown.
Files Added
Scripts:
bin/omarchy-status-daemon- Background daemon for efficient monitoringbin/omarchy-status-dnd- DND status checkerbin/omarchy-status-nightlight- Night light status checkerbin/omarchy-status-recording- Recording status checkerbin/omarchy-status-idle- Idle lock status checkerConfiguration:
config/waybar/config.jsonc- adds status cluster group and individual modulesconfig/waybar/style.css- styling for status indicatorsArchitecture
User Experience
Performance Metrics
Memory Usage:
CPU Usage:
Tools Integration:
makoctl modehyprctl hyprsunset temperatureThe system provides real-time status awareness with minimal system impact while integrating seamlessly with Omarchy's existing tools and aesthetic.