diff options
Diffstat (limited to '.local/bin/setwp')
-rwxr-xr-x | .local/bin/setwp | 5 |
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 { |