blob: 287183b43ce7935ce2e00885b826e258c7c4a16d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/sh
#Screen background feh
if [ -f ~/.files ]; then
source ~/.files
shopt -s nullglob
pics=($DOTFILEBASE/pictures/b_*)
len=${#pics[*]}
ran=$(($RANDOM % len))
feh --bg-fill ${pics[$ran]}
unset pics len ran
fi
|