sidevesh / Luminance

A simple GTK application to control brightness of displays including external displays supporting DDC/CI
GNU General Public License v3.0
103 stars 6 forks source link

Store the PID in the lock file #37

Open leikin opened 1 month ago

leikin commented 1 month ago

Right now the app won't start again after it is killed or crashes, until you remove the lock file. This PR stores the PID in the lock file and checks at startup if the process is still alive.