summaryrefslogtreecommitdiff
path: root/common/bin/retheme
blob: 8d52eeb192a42ac81d67794b5c55e2f864c389d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

case "$1" in
    "light")
        opts="-li"
        ;;
    "dark")
        opts="-i"
        ;;
    *)
        echo "'$1' not 'light' or 'dark'" 1>&2
        exit 1
        ;;
esac

mywal $opts $(cat ~/.cache/wal/wal)