diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2022-12-01 13:52:03 +0100 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2022-12-01 13:52:03 +0100 |
commit | 8f9a65c0c21affaedbca23d5bb5b55cf0a4b9265 (patch) | |
tree | d359b142d006bae351ea1a8cc653ce9bc6c38584 /scripts/random_background_sway | |
parent | 379ef6f0b1e41f53820f07041bc615c0a1ca0352 (diff) | |
download | dotfiles-8f9a65c0c21affaedbca23d5bb5b55cf0a4b9265.tar.gz |
fix random background
Diffstat (limited to 'scripts/random_background_sway')
-rwxr-xr-x | scripts/random_background_sway | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/random_background_sway b/scripts/random_background_sway index 9cf9e9f..c67d95a 100755 --- a/scripts/random_background_sway +++ b/scripts/random_background_sway @@ -1,9 +1,11 @@ #!/bin/bash +. $HOME/.files + #Screen background feh shopt -s nullglob -pics=(~/vimconfig/pictures/b_*) +pics=($DOTFILEBASE/pictures/b_*) #echo $pics len=${#pics[*]} ran=$(($RANDOM % len)) |