Skip to content

systemd socket activation #242

@zefr0x

Description

@zefr0x

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions