Update PID file location to XDG state path

This commit is contained in:
John Mertz 2024-04-19 15:05:30 -06:00
parent 93c786f9e3
commit 7e43f9f600
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ sub new($class, %args)
$args{im} = Image::Magick->new();
$args{error} = ();
$args{pidfile} = "/tmp/$ENV{USER}-wallpaper.pid";
$args{pidfile} = "$ENV{HOME}/.local/state/wallpaper.pid";
return bless { %args };
}