summaryrefslogtreecommitdiffstats
path: root/.local/bin/setwp
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-09-19 18:22:05 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-09-19 18:22:05 +0200
commitb21f13b0064857a20515dfdc6d21de0ef450d477 (patch)
treeb3150a8d8e4ba0d3a18a21673f3a999a4fbd6e83 /.local/bin/setwp
parentWallpaper script in progress (diff)
downloaddotfiles-bsd-b21f13b0064857a20515dfdc6d21de0ef450d477.tar.gz
dotfiles-bsd-b21f13b0064857a20515dfdc6d21de0ef450d477.tar.bz2
dotfiles-bsd-b21f13b0064857a20515dfdc6d21de0ef450d477.tar.xz
dotfiles-bsd-b21f13b0064857a20515dfdc6d21de0ef450d477.tar.zst
dotfiles-bsd-b21f13b0064857a20515dfdc6d21de0ef450d477.zip
Wait a sec fuck this all
Diffstat (limited to '')
-rwxr-xr-x.local/bin/setwp21
1 files changed, 10 insertions, 11 deletions
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;
}