12 lines
225 B
Bash
Executable file
12 lines
225 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -exuo pipefail
|
|
|
|
cd "$(dirname "${BASH_SOURCE[0]}")"
|
|
|
|
case "${1-}" in
|
|
light) ln -sf light.toml theme.toml ;;
|
|
dark) ln -sf dark.toml theme.toml ;;
|
|
esac
|
|
|
|
cat theme.toml main.toml > config.toml
|