The hook prevents gvfsd-fuse from blocking suspend, not just
hibernation. Install it during the config phase so every system
gets it, not only those that run hibernation setup.
/proc/mounts uses octal escaping for special characters (e.g. \040 for
spaces). Decode with printf before passing to fusermount so paths with
spaces are handled correctly.
Add disown after backgrounding the gvfs restart so it survives
systemd-sleep's cgroup cleanup when the hook script exits.
The post-sleep hook runs before systemd thaws user.slice, so a
synchronous systemctl --user restart hangs for ~90 seconds waiting
for the frozen user manager to respond — blocking the entire resume.
Background the restart with a short delay so it executes after
user.slice is thawed.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
cp -p preserves the original user ownership from ~/.local/share/omarchy,
which would allow an unprivileged user to modify a script that runs as
root during suspend/hibernate.
gvfsd-fuse is spawned by gvfsd during init and not respawned if it
dies. After lazy-unmounting in pre-sleep, restart gvfs-daemon.service
in post-sleep so the FUSE mount at /run/user/*/gvfs is restored.
* 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 <david@hey.com>
* Fix screen recording on Intel graphics
Use wf-recorder for Intel graphics instead of wl-screenrec due to VAAPI compatibility issues that prevent recording from starting.
* combining greps for nvidia and intel graphics
* Update omarchy-cmd-screenrecord
* Fix waybar update icon spacing
Remove clock from margin rule and add custom-update to prevent horizontal cutoff and reduce excessive spacing between clock and update icon.
* making the update icon smaller, looks better in the center