Summary
hypr-sticky-hdr solves a common Hyprland + HDR gaming problem (flickering on alt-tab) and would benefit from being a standalone open-source project rather than buried in dotfiles.
What it does
- Daemon that auto-detects HDR game windows via process env vars (
PROTON_ENABLE_HDR=1, HYPR_STICKY_HDR=1)
- Keeps monitor in HDR mode for the game's entire lifetime, preventing alt-tab flicker
- Disables Hyprland's
cm_auto_hdr while managing HDR to prevent conflicts
- Manual
on/off override, desktop notifications on switch
- Event-driven via Hyprland IPC with debounced scanning and PID caching
TODO
Summary
hypr-sticky-hdrsolves a common Hyprland + HDR gaming problem (flickering on alt-tab) and would benefit from being a standalone open-source project rather than buried in dotfiles.What it does
PROTON_ENABLE_HDR=1,HYPR_STICKY_HDR=1)cm_auto_hdrwhile managing HDR to prevent conflictson/offoverride, desktop notifications on switchTODO
hypr-sticky-hdrrepo