diff options
author | Von Random <von@vdrandom.org> | 2023-10-16 12:31:18 +0300 |
---|---|---|
committer | Von Random <von@vdrandom.org> | 2023-10-16 12:31:18 +0300 |
commit | 9240d734a9fd0bd6b9a978d6ff09f433c0c31120 (patch) | |
tree | e76eee9078aca6461b63b8203e8106459ba65a6d | |
parent | b0208ebbd7166e6129ec70b503592dbb989a2004 (diff) |
wezterm: more rearrangement
-rw-r--r-- | gui/.config/wezterm/overrides.lua | 18 | ||||
-rw-r--r-- | gui/.config/wezterm/wezterm.lua | 22 |
2 files changed, 24 insertions, 16 deletions
diff --git a/gui/.config/wezterm/overrides.lua b/gui/.config/wezterm/overrides.lua index 936ec79..3f553fe 100644 --- a/gui/.config/wezterm/overrides.lua +++ b/gui/.config/wezterm/overrides.lua @@ -3,6 +3,14 @@ local fn = require('functions') local current = {} +-- colors +local color_scheme = 'GruvboxDark' +local tab_fg = '#ebdbb2' +local tab_bg = '#504945' +local tab_bg_active = '#282828' +local cursor_fg = '#ebdbb2' +local cursor_bg = '#d65d0e' + -- fonts local fonts = wt.config_builder() fonts.font = wt.font('JetBrains Mono') @@ -13,15 +21,11 @@ fonts.font_size = fn.set_by_os{ fonts.harfbuzz_features = {'calt=0', 'clig=0', 'liga=0'} -- theme -local tab_fg = '#ebdbb2' -local tab_bg = '#504945' -local tab_bg_active = '#282828' - local theme = wt.config_builder() -theme.color_scheme = 'GruvboxDark' +theme.color_scheme = color_scheme theme.colors = { - cursor_bg = '#d65d0e', - cursor_fg = '#ebdbb2', + cursor_fg = cursor_fg, + cursor_bg = cursor_bg, tab_bar = { background = tab_bg, active_tab = { diff --git a/gui/.config/wezterm/wezterm.lua b/gui/.config/wezterm/wezterm.lua index b9269f2..88840f7 100644 --- a/gui/.config/wezterm/wezterm.lua +++ b/gui/.config/wezterm/wezterm.lua @@ -2,8 +2,16 @@ local wt = require('wezterm') local kb = require('keybinds') local fn = require('functions') -local cfg = wt.config_builder() +-- colors +local color_scheme = 'Solarized Light (Gogh)' +local tab_fg = '#657b83' +local tab_bg = '#eee8d5' +local tab_bg_active = '#fdf6e3' +local cursor_fg = '#fdf6e3' +local cursor_bg = '#cb4b16' + -- misc +local cfg = wt.config_builder() cfg.leader = kb.leader cfg.keys = kb.keybinds cfg.audible_bell = 'Disabled' @@ -33,15 +41,11 @@ cfg.window_padding = { bottom = 0 } --- colors -local tab_fg = '#657b83' -local tab_bg = '#eee8d5' -local tab_bg_active = '#fdf6e3' - -cfg.color_scheme = 'Solarized Light (Gogh)' +-- theming +cfg.color_scheme = color_scheme cfg.colors = { - cursor_bg = '#cb4b16', - cursor_fg = '#fdf6e3', + cursor_fg = cursor_fg, + cursor_bg = cursor_bg, tab_bar = { background = tab_bg, active_tab = { |