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

systemd socket activation #242

Open
zefr0x opened this issue Mar 12, 2025 · 0 comments
Open

systemd socket activation #242

zefr0x opened this issue Mar 12, 2025 · 0 comments

Comments

@zefr0x
Copy link

zefr0x commented Mar 12, 2025

It would be great if hyprpaper is started automaticity on demand when a request is made to the IPC socket. This could be achieved with systemd.

We can have a hyprpaper.socket looks like:

[Socket]
ListenStream=%t/.hyprpaper

[Install]
WantedBy=sockets.target

And we can modify hyprpaper.service to be like:

 [Install]
+Also=hyprpaper.socket
 WantedBy=graphical-session.target
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

No branches or pull requests

1 participant