49 lines
1.1 KiB
Lua
49 lines
1.1 KiB
Lua
-- Pull in the wezterm API
|
|
local wezterm = require 'wezterm'
|
|
|
|
-- This will hold the configuration.
|
|
local config = wezterm.config_builder()
|
|
|
|
-- This is where you actually apply your config choices.
|
|
|
|
-- or, changing the font size and color scheme.
|
|
config.font_size = 12
|
|
config.hide_tab_bar_if_only_one_tab = true
|
|
|
|
-- Gruvbox Dark color theme
|
|
config.colors = {
|
|
foreground = '#ebdbb2',
|
|
background = '#282828',
|
|
|
|
cursor_bg = '#fbf1c7',
|
|
cursor_fg = '#32302f',
|
|
cursor_border = '#fbf1c7',
|
|
|
|
selection_fg = '#928374',
|
|
selection_bg = '#3c3836',
|
|
|
|
ansi = {
|
|
'#282828', -- black
|
|
'#cc241d', -- red
|
|
'#98971a', -- green
|
|
'#d79921', -- yellow
|
|
'#689d6a', -- blue
|
|
'#b16286', -- magenta
|
|
'#689d6a', -- cyan
|
|
'#a89984', -- white
|
|
},
|
|
brights = {
|
|
'#665c54', -- bright black
|
|
'#fb4934', -- bright red
|
|
'#b8bb26', -- bright green
|
|
'#fabd2f', -- bright yellow
|
|
'#83a598', -- bright blue
|
|
'#d3869b', -- bright magenta
|
|
'#8ec07c', -- bright cyan
|
|
'#928374', -- bright white
|
|
},
|
|
}
|
|
|
|
-- Finally, return the configuration to wezterm:
|
|
return config
|