1
0
Fork 0

wezterm: more rearrangement

This commit is contained in:
Von Random 2023-10-16 12:31:18 +03:00
parent b0208ebbd7
commit 9240d734a9
2 changed files with 24 additions and 16 deletions

View file

@ -3,6 +3,14 @@ local fn = require('functions')
local current = {} 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 -- fonts
local fonts = wt.config_builder() local fonts = wt.config_builder()
fonts.font = wt.font('JetBrains Mono') 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'} fonts.harfbuzz_features = {'calt=0', 'clig=0', 'liga=0'}
-- theme -- theme
local tab_fg = '#ebdbb2'
local tab_bg = '#504945'
local tab_bg_active = '#282828'
local theme = wt.config_builder() local theme = wt.config_builder()
theme.color_scheme = 'GruvboxDark' theme.color_scheme = color_scheme
theme.colors = { theme.colors = {
cursor_bg = '#d65d0e', cursor_fg = cursor_fg,
cursor_fg = '#ebdbb2', cursor_bg = cursor_bg,
tab_bar = { tab_bar = {
background = tab_bg, background = tab_bg,
active_tab = { active_tab = {

View file

@ -2,8 +2,16 @@ local wt = require('wezterm')
local kb = require('keybinds') local kb = require('keybinds')
local fn = require('functions') 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 -- misc
local cfg = wt.config_builder()
cfg.leader = kb.leader cfg.leader = kb.leader
cfg.keys = kb.keybinds cfg.keys = kb.keybinds
cfg.audible_bell = 'Disabled' cfg.audible_bell = 'Disabled'
@ -33,15 +41,11 @@ cfg.window_padding = {
bottom = 0 bottom = 0
} }
-- colors -- theming
local tab_fg = '#657b83' cfg.color_scheme = color_scheme
local tab_bg = '#eee8d5'
local tab_bg_active = '#fdf6e3'
cfg.color_scheme = 'Solarized Light (Gogh)'
cfg.colors = { cfg.colors = {
cursor_bg = '#cb4b16', cursor_fg = cursor_fg,
cursor_fg = '#fdf6e3', cursor_bg = cursor_bg,
tab_bar = { tab_bar = {
background = tab_bg, background = tab_bg,
active_tab = { active_tab = {