nwg-piotr / nwg-wrapper

Wrapper to display a script output or a text file content on the desktop in sway or other wlroots-based compositors
MIT License
139 stars 8 forks source link

add single instance mode #12

Closed nwg-piotr closed 2 years ago

nwg-piotr commented 2 years ago

Added -si | --single_instance mode. If used, the program on startup checks the pid file stored in /tmp dir and kills the process when started again.