summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-x.local/bin/setwp5
1 files 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
{