summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe <bousset.rudy@gmail.com>2022-07-23 01:21:14 +0200
committerJoe <bousset.rudy@gmail.com>2022-07-23 01:21:14 +0200
commitcbc82799165e9ea5977448335736c9e67f3ead67 (patch)
treedf51c2e859f13b1c84366b3c4715fbd8e103b79a
parentcompat (diff)
downloaddotfiles-bsd-cbc82799165e9ea5977448335736c9e67f3ead67.tar.gz
dotfiles-bsd-cbc82799165e9ea5977448335736c9e67f3ead67.tar.bz2
dotfiles-bsd-cbc82799165e9ea5977448335736c9e67f3ead67.tar.xz
dotfiles-bsd-cbc82799165e9ea5977448335736c9e67f3ead67.tar.zst
dotfiles-bsd-cbc82799165e9ea5977448335736c9e67f3ead67.zip
compat
-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
{