Update PID file location to XDG state path
This commit is contained in:
parent
93c786f9e3
commit
7e43f9f600
|
@ -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 };
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue