aboutsummaryrefslogtreecommitdiff
path: root/scripts/random_background_sway
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/random_background_sway')
-rwxr-xr-xscripts/random_background_sway4
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))