helix: Install with theme
This commit is contained in:
parent
802f16b0ea
commit
ca246e1c31
6 changed files with 30 additions and 7 deletions
12
helix/install
Executable file
12
helix/install
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
#!/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
|
||||
Loading…
Add table
Add a link
Reference in a new issue