summaryrefslogtreecommitdiff
path: root/shell-scripts/set-bg
blob: 6ee9f962ce77504b03601fe3bdaa4a0cca0ada2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!@bash@/bin/bash
reload=0
while getopts "r" opt; do
  case "$opt" in
    h|\?) exit 0 ;;
    r)  reload=1 ;;
  esac
done
if [ $reload -eq 1 ]; then
    (cat ~/.cache/wal/sequences &)
else
    sxiv -tob ~/bg | parallel wal -i
fi
kak -l | parallel '<<< "colorscheme wal" kak -p {}'