diff --git a/bin/set-colors b/bin/set-colors index 4ecf418..8beea47 100755 --- a/bin/set-colors +++ b/bin/set-colors @@ -15,6 +15,8 @@ install_dark() { ln -sf "${DOTFILES}/vim/colors/jdkaplan-dark.vim" "${DOTFILES}/vim/colors/jdkaplan.vim" ln -sf "${DOTFILES}/neovim/colors/jdkaplan-cool.lua" "${DOTFILES}/neovim/colors/jdkaplan-temp.lua" + cat "${DOTFILES}/helix/dark.toml" "${DOTFILES}/helix/main.toml" > "${DOTFILES}/helix/config.toml" + if [ "${OSTYPE}" == 'Linux' ]; then ln -sf "${DOTFILES}/xsettingsd/xsettingsd-dark.conf" "${DOTFILES}/xsettingsd/xsettingsd.conf" fi @@ -33,6 +35,8 @@ install_light() { ln -sf "${DOTFILES}/vim/colors/jdkaplan-light.vim" "${DOTFILES}/vim/colors/jdkaplan.vim" ln -sf "${DOTFILES}/neovim/colors/jdkaplan-warm.lua" "${DOTFILES}/neovim/colors/jdkaplan-temp.lua" + cat "${DOTFILES}/helix/light.toml" "${DOTFILES}/helix/main.toml" > "${DOTFILES}/helix/config.toml" + if [ "${OSTYPE}" == 'Linux' ]; then ln -sf "${DOTFILES}/xsettingsd/xsettingsd-light.conf" "${DOTFILES}/xsettingsd/xsettingsd.conf" fi diff --git a/helix/.gitignore b/helix/.gitignore new file mode 100644 index 0000000..5b6c096 --- /dev/null +++ b/helix/.gitignore @@ -0,0 +1 @@ +config.toml diff --git a/helix/dark.toml b/helix/dark.toml new file mode 100644 index 0000000..18e93ce --- /dev/null +++ b/helix/dark.toml @@ -0,0 +1 @@ +theme = "onedark" diff --git a/helix/light.toml b/helix/light.toml new file mode 100644 index 0000000..a9d5ac6 --- /dev/null +++ b/helix/light.toml @@ -0,0 +1 @@ +theme = "onelight" diff --git a/helix/config.toml b/helix/main.toml similarity index 95% rename from helix/config.toml rename to helix/main.toml index 2468078..bda01cc 100644 --- a/helix/config.toml +++ b/helix/main.toml @@ -1,5 +1,3 @@ -theme = "onedark" - [editor] scrolloff = 1 cursorline = true