summaryrefslogtreecommitdiff
path: root/config/openbox/composite
blob: 2b7d3b642565de63e9aa8d336734b39f9a3815dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
if [ ! -d "$HOME/Pictures/Wall" ]; then
    exit 1
fi

while IFS= read -r file; do
    # Add space between filenames if string is not empty
    if [ -n "$files_string" ]; then
        files_string+=" "
    fi
    files_string+="$file"
done < <(find "$HOME/Pictures/Wall" -type f)

echo $files_string

feh --bg-fill $files_string

compton &