From b21f13b0064857a20515dfdc6d21de0ef450d477 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sat, 19 Sep 2020 18:22:05 +0200 Subject: Wait a sec fuck this all --- .local/bin/setwp | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to '.local/bin/setwp') diff --git a/.local/bin/setwp b/.local/bin/setwp index 3c3c36c..75f9203 100755 --- a/.local/bin/setwp +++ b/.local/bin/setwp @@ -38,23 +38,22 @@ sub choose_and_copy sub set_wp { - my $screens = ($_[0]); - - if ($screens == 0) { - # get them screens - } + system( + FEH_PATH, + '--bg-fill', + WP_FILE, + '--bg-fill', + WP_FILE, + '--bg-fill', + WP_FILE + ); return; } sub main { choose_and_copy(get_pool_files()); - if ($#ARGV + 1 > 0) { - set_wp($ARGV[0]); - } - else { - set_wp(0); - } + set_wp(); return; } -- cgit v1.2.3