1 2 3 4 5 6 7 8 9 10
#!/bin/sh cd "$(dirname "$0")" || exit if [ "$1" = "" ]; then echo theme name not set :\< exit 1 fi cp ~/.cache/wal/colors.sh "./themes/$1.sh" chmod u+x "./themes/$1.sh"