Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add hyprpaper IPC #312

Open
wants to merge 19 commits into
base: master
Choose a base branch
from

Conversation

lwestlund
Copy link

This PR build on top of #309 to understand that I haven't broken anything and therefore has a lot of commits. The important one is the head commit that adds hyprpaper IPC through the .hyprpaper.sock socket.

Topics for discussion:

  • The API drafted here is one way of doing it that I hope will make it easy to provide correct input to hyprpaper, but I am open for suggestions!
  • Should hyprpaper::Error have the variants NoWallpapersActive and NoWallpapersLoaded? Or should we in those cases return empty vectors instead to indicate that no wallpapers were active or loaded.

These examples did not compile from what appears to be a change in
naming a while back.

Amends: b4ff36a
This can be expressed more clearly and explicit using `is_empty()`.
Only a cheap reference operation should be called `as_*`.
This allows rustfmt to be run separately, not relying on `Cargo.toml`
for edition information.
@lwestlund lwestlund force-pushed the feature/add-hyprpaper-ipc branch from 88b587f to 4e2cbc9 Compare February 16, 2025 13:25
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.

1 participant