fetchcord / FetchCord

FetchCord grabs your OS info and displays it as Discord Rich Presence
MIT License
325 stars 19 forks source link

Add A Runit Service #75

Closed TheCatster closed 3 years ago

TheCatster commented 4 years ago

Having a runit service would be great for all my fellow Artix and Void users, and doesn't seem to difficult to implement since a systemd service already exists.

Thanks!

Ann1kaB commented 4 years ago

Yeah I attempted to make an runit service, only problem is....the service cannot see the discord process (since it's a system service) aaaand wouldn't work at all. That said, it may be possible to make a user service with a user dir but I just settled for a discord script that launches both and closes them if one or the other gets closed. I could add it to the repo I guess.

TheCatster commented 4 years ago

That'd be good enough for now, although it would be interesting to figure it out at a system level. I might prod at it as well.

Ann1kaB commented 4 years ago

Okay, can do.