rvaiya / warpd

A modal keyboard-driven virtual pointer
MIT License
2.9k stars 131 forks source link

add script for creating systemd user service #222

Closed kanitkameh closed 1 year ago

kanitkameh commented 1 year ago

I created a small script which allows you to setup warpd as a systemd user service. The benefit of this is that now warpd starts automatically(you can disable that if you want to). No need to open new shell and type warpd every time you reboot your computer. It is also easier to check its status with systemctl --user status warpd.

Where is the appropriate place to put this script? Or maybe make part of the make install for Linux? Should I add a few lines in the README.md about this?

rvaiya commented 1 year ago

I'm not sure a systemd unit is a good place for this. Regardless, it should be left up to the user.