1
0
Fork 0

shells: try direnv; terminals: use default cursor color

This commit is contained in:
Von Random 2025-01-15 18:02:11 +02:00
parent 84df469859
commit c5b18e90fe
6 changed files with 9 additions and 14 deletions

View file

@ -19,4 +19,8 @@ if status is-interactive
printf '\e[31m>>\e[39m exit \e[31m%s\e[39m\n' $ret printf '\e[31m>>\e[39m exit \e[31m%s\e[39m\n' $ret
end end
end end
if command -q direnv
direnv hook fish | source
end
end end

View file

@ -1,4 +1,4 @@
theme = "gruvbox_custom" theme = "gruvbox"
[editor] [editor]
true-color = true true-color = true

View file

@ -1,5 +0,0 @@
inherits = "gruvbox"
# transparent background, if ever needed
#"ui.background" = {}
"ui.cursor.primary.normal" = { fg = "bg1", bg = "orange1" }

View file

@ -7,8 +7,6 @@ local color_scheme = 'Solarized Light (Gogh)'
local tab_fg = '#657b83' local tab_fg = '#657b83'
local tab_bg = '#eee8d5' local tab_bg = '#eee8d5'
local tab_bg_active = '#fdf6e3' local tab_bg_active = '#fdf6e3'
local cursor_fg = '#fdf6e3'
local cursor_bg = '#cb4b16'
-- fonts -- fonts
local fonts = wt.config_builder() local fonts = wt.config_builder()
@ -19,8 +17,6 @@ fonts.harfbuzz_features = {'ss03'}
local theme = wt.config_builder() local theme = wt.config_builder()
theme.color_scheme = color_scheme theme.color_scheme = color_scheme
theme.colors = { theme.colors = {
cursor_fg = cursor_fg,
cursor_bg = cursor_bg,
tab_bar = { tab_bar = {
background = tab_bg, background = tab_bg,
active_tab = { active_tab = {

View file

@ -7,8 +7,6 @@ local color_scheme = 'GruvboxDark'
local tab_fg = '#ebdbb2' local tab_fg = '#ebdbb2'
local tab_bg = '#504945' local tab_bg = '#504945'
local tab_bg_active = '#282828' local tab_bg_active = '#282828'
local cursor_fg = '#ebdbb2'
local cursor_bg = '#d65d0e'
-- misc -- misc
local cfg = wt.config_builder() local cfg = wt.config_builder()
@ -45,8 +43,6 @@ cfg.window_padding = {
-- theming -- theming
cfg.color_scheme = color_scheme cfg.color_scheme = color_scheme
cfg.colors = { cfg.colors = {
cursor_fg = cursor_fg,
cursor_bg = cursor_bg,
tab_bar = { tab_bar = {
background = tab_bg, background = tab_bg,
active_tab = { active_tab = {

View file

@ -99,3 +99,7 @@ if testbin grc; then
done done
unset cmds cmd unset cmds cmd
fi fi
if testbin direnv; then
eval "$(direnv hook zsh)"
fi