adjust wezterm scroll bar "thumb" colour
This commit is contained in:
parent
81af58850b
commit
639441970a
|
@ -56,6 +56,7 @@ config.colors = {
|
||||||
bg_color = "#000000",
|
bg_color = "#000000",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
scrollbar_thumb = "#888888",
|
||||||
}
|
}
|
||||||
-- config.color_scheme = "Gnometerm (terminal.sexy)"
|
-- config.color_scheme = "Gnometerm (terminal.sexy)"
|
||||||
|
|
||||||
|
@ -208,4 +209,20 @@ end)
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
-- copied from https://github.com/wez/wezterm/issues/4331
|
||||||
|
-- however it has some issues, seems to reset color theme to default?
|
||||||
|
|
||||||
|
-- wezterm.on("update-status", function(window, pane)
|
||||||
|
-- local overrides = window:get_config_overrides() or {}
|
||||||
|
-- if not overrides.colors then
|
||||||
|
-- overrides.colors = {}
|
||||||
|
-- end
|
||||||
|
-- if pane:is_alt_screen_active() then
|
||||||
|
-- overrides.colors.scrollbar_thumb = "transparent"
|
||||||
|
-- else
|
||||||
|
-- overrides.colors.scrollbar_thumb = nil
|
||||||
|
-- end
|
||||||
|
-- window:set_config_overrides(overrides)
|
||||||
|
-- end)
|
||||||
|
|
||||||
return config
|
return config
|
||||||
|
|
Loading…
Reference in a new issue