helix: light/dark mode
This commit is contained in:
parent
98a5eb772f
commit
60f8f83839
5 changed files with 7 additions and 2 deletions
|
|
@ -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
1
helix/.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
config.toml
|
||||||
1
helix/dark.toml
Normal file
1
helix/dark.toml
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
theme = "onedark"
|
||||||
1
helix/light.toml
Normal file
1
helix/light.toml
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
theme = "onelight"
|
||||||
26
helix/main.toml
Normal file
26
helix/main.toml
Normal file
|
|
@ -0,0 +1,26 @@
|
||||||
|
[editor]
|
||||||
|
scrolloff = 1
|
||||||
|
cursorline = true
|
||||||
|
gutters = [
|
||||||
|
"diff",
|
||||||
|
"diagnostics",
|
||||||
|
"spacer",
|
||||||
|
"line-numbers",
|
||||||
|
"spacer",
|
||||||
|
]
|
||||||
|
|
||||||
|
[editor.cursor-shape]
|
||||||
|
insert = "bar"
|
||||||
|
normal = "block"
|
||||||
|
select = "underline"
|
||||||
|
|
||||||
|
[editor.statusline]
|
||||||
|
left = ["mode", "spinner", "file-name"]
|
||||||
|
center = []
|
||||||
|
right = ["diagnostics", "selections", "position", "position-percentage", "file-encoding"]
|
||||||
|
|
||||||
|
[keys.normal]
|
||||||
|
"\\" = { w = ":w" }
|
||||||
|
|
||||||
|
"C-e" = "scroll_down"
|
||||||
|
"C-y" = "scroll_up"
|
||||||
Loading…
Reference in a new issue