diff --git a/sway/wallpaper.pl b/sway/wallpaper.pl index 54f07ef..ae799e7 100755 --- a/sway/wallpaper.pl +++ b/sway/wallpaper.pl @@ -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 }; }