Skip to content

protocol: add a status object - #313

Merged
vaxerski merged 1 commit into
mainfrom
protocol-status
Feb 10, 2026
Merged

protocol: add a status object#313
vaxerski merged 1 commit into
mainfrom
protocol-status

Conversation

@vaxerski

@vaxerski vaxerski commented Jan 3, 2026

Copy link
Copy Markdown
Member

Adds a status object to the protocol for obtaining the state of hyprpaper.

Fixes #305

hyprland MR: hyprwm/Hyprland#12838

@vaxerski
vaxerski merged commit 9df6ba9 into main Feb 10, 2026
2 checks passed
prankstr added a commit to prankstr/vibepanel that referenced this pull request Apr 17, 2026
hyprpaper 0.8.0 migrated away from the legacy text IPC to the hyprwire
binary protocol. Released 0.8.0-0.8.3 expose hyprpaper_core@1 which is
write-only; upstream hyprpaper_core@2 (merged in hyprwm/hyprpaper#313,
currently only on main) adds a status object that emits
active_wallpaper(monitor, path) events.

This adds a minimal hyprwire client covering handshake, bind, status-
object roundtrip and event parsing, wired into the existing wallpaper
detection fallback chain. The legacy text probe is kept as a fast-path
for <0.8.0 users and fast-fails (<150ms) against hyprwire servers via
a first-byte peek. Multiple active_wallpaper events per monitor in the
same snapshot use latest-wins semantics. UTF-8 wallpaper paths are
supported. Test coverage exercises encoder/decoder roundtrips, parser
shape, and the probe ordering/fast-fail behaviour.
prankstr added a commit to prankstr/vibepanel that referenced this pull request Apr 18, 2026
hyprpaper 0.8.0 migrated away from the legacy text IPC to the hyprwire
binary protocol. Released 0.8.0-0.8.3 expose hyprpaper_core@1 which is
write-only; upstream hyprpaper_core@2 (merged in hyprwm/hyprpaper#313,
currently only on main) adds a status object that emits
active_wallpaper(monitor, path) events.

This adds a minimal hyprwire client covering handshake, bind, status-
object roundtrip and event parsing, wired into the existing wallpaper
detection fallback chain. The legacy text probe is kept as a fast-path
for <0.8.0 users and fast-fails (<150ms) against hyprwire servers via
a first-byte peek. Multiple active_wallpaper events per monitor in the
same snapshot use latest-wins semantics. UTF-8 wallpaper paths are
supported. Test coverage exercises encoder/decoder roundtrips, parser
shape, and the probe ordering/fast-fail behaviour.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Re-enable "listactive" or equivalent

1 participant