From cbc82799165e9ea5977448335736c9e67f3ead67 Mon Sep 17 00:00:00 2001 From: Joe Date: Sat, 23 Jul 2022 01:21:14 +0200 Subject: compat --- .local/bin/setwp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.local/bin/setwp b/.local/bin/setwp index c8b8ae5..ae2b2dd 100755 --- a/.local/bin/setwp +++ b/.local/bin/setwp @@ -2,12 +2,13 @@ use strict; use warnings; +use File::HomeDir qw(home); use File::Copy; use constant { - WP_POOL => '/usr/home/jozan/pics/wp/' + WP_POOL => home() . '/pics/wp/' }; -use constant FEH_PATH => '/usr/local/bin/feh'; +use constant FEH_PATH => 'feh'; sub get_pool_files { -- cgit v1.2.3