1
0
Fork 0

helix: light/dark mode

This commit is contained in:
Jeremy Kaplan 2025-09-02 21:49:16 -04:00
commit 60f8f83839
5 changed files with 7 additions and 2 deletions

View file

@ -15,6 +15,8 @@ install_dark() {
ln -sf "${DOTFILES}/vim/colors/jdkaplan-dark.vim" "${DOTFILES}/vim/colors/jdkaplan.vim" 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" 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 if [ "${OSTYPE}" == 'Linux' ]; then
ln -sf "${DOTFILES}/xsettingsd/xsettingsd-dark.conf" "${DOTFILES}/xsettingsd/xsettingsd.conf" ln -sf "${DOTFILES}/xsettingsd/xsettingsd-dark.conf" "${DOTFILES}/xsettingsd/xsettingsd.conf"
fi fi
@ -33,6 +35,8 @@ install_light() {
ln -sf "${DOTFILES}/vim/colors/jdkaplan-light.vim" "${DOTFILES}/vim/colors/jdkaplan.vim" 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" 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 if [ "${OSTYPE}" == 'Linux' ]; then
ln -sf "${DOTFILES}/xsettingsd/xsettingsd-light.conf" "${DOTFILES}/xsettingsd/xsettingsd.conf" ln -sf "${DOTFILES}/xsettingsd/xsettingsd-light.conf" "${DOTFILES}/xsettingsd/xsettingsd.conf"
fi fi

1
helix/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
config.toml

1
helix/dark.toml Normal file
View file

@ -0,0 +1 @@
theme = "onedark"

1
helix/light.toml Normal file
View file

@ -0,0 +1 @@
theme = "onelight"

View file

@ -1,5 +1,3 @@
theme = "onedark"
[editor] [editor]
scrolloff = 1 scrolloff = 1
cursorline = true cursorline = true