save
This commit is contained in:
@@ -1,59 +1,63 @@
|
||||
local wezterm = require "wezterm"
|
||||
local wezterm = require("wezterm")
|
||||
|
||||
local config = wezterm.config_builder()
|
||||
local config = {}
|
||||
|
||||
if wezterm.target_triple:find("windows") then
|
||||
config.default_prog = { 'wsl.exe', '-d', 'Fedora', '--cd', '~' }
|
||||
config.keys = {
|
||||
{
|
||||
key = 'F11',
|
||||
mods = 'NONE',
|
||||
action = wezterm.action.ToggleFullScreen,
|
||||
},
|
||||
}
|
||||
config.default_prog = { "wsl.exe", "-d", "Fedora", "--cd", "~" }
|
||||
config.keys = {
|
||||
{
|
||||
key = "F11",
|
||||
mods = "NONE",
|
||||
action = wezterm.action.ToggleFullScreen,
|
||||
},
|
||||
}
|
||||
end
|
||||
|
||||
config.hide_tab_bar_if_only_one_tab = true
|
||||
config.scrollback_lines = 10000
|
||||
config.window_padding = {
|
||||
left = 0,
|
||||
right = 0,
|
||||
top = 0,
|
||||
bottom = 0,
|
||||
left = 0,
|
||||
right = 0,
|
||||
top = 0,
|
||||
bottom = 0,
|
||||
}
|
||||
|
||||
-- Adjusted colors for similarity to the image
|
||||
config.colors = {
|
||||
background = '#000000', -- Darker background
|
||||
foreground = '#c0caf5', -- Light foreground
|
||||
cursor_bg = '#c0caf5', -- Cursor color
|
||||
cursor_fg = '#0f111a',
|
||||
cursor_border = '#c0caf5',
|
||||
config.color_scheme = "vx-rose-pine"
|
||||
|
||||
ansi = {
|
||||
'#32344a', -- black
|
||||
'#f7768e', -- red
|
||||
'#9ece6a', -- green
|
||||
'#e0af68', -- yellow
|
||||
'#7aa2f7', -- blue
|
||||
'#bb9af7', -- magenta
|
||||
'#7dcfff', -- cyan
|
||||
'#a9b1d6', -- white
|
||||
},
|
||||
brights = {
|
||||
'#444b6a', -- bright black
|
||||
'#ff7a93', -- bright red
|
||||
'#b9f27c', -- bright green
|
||||
'#ff9e64', -- bright yellow
|
||||
'#7da6ff', -- bright blue
|
||||
'#c69ff7', -- bright magenta
|
||||
'#7dcfff', -- bright cyan
|
||||
'#c0caf5', -- bright white
|
||||
config.color_schemes = {
|
||||
['vx-rose-pine'] = {
|
||||
foreground = '#e0def4',
|
||||
background = '#000000', -- Default Rose-Pine background
|
||||
cursor_bg = '#e0def4',
|
||||
cursor_border = '#e0def4',
|
||||
cursor_fg = '#191724',
|
||||
selection_bg = '#524f67',
|
||||
selection_fg = '#e0def4',
|
||||
ansi = {
|
||||
'#191724', -- Base
|
||||
'#eb6f92', -- Love
|
||||
'#f6c177', -- Gold
|
||||
'#ebbcba', -- Rose
|
||||
'#9ccfd8', -- Pine
|
||||
'#c4a7e7', -- Iris
|
||||
'#31748f', -- Foam
|
||||
'#e0def4', -- Text
|
||||
},
|
||||
brights = {
|
||||
'#6e6a86', -- Subtle
|
||||
'#eb6f92', -- Love
|
||||
'#f6c177', -- Gold
|
||||
'#ebbcba', -- Rose
|
||||
'#9ccfd8', -- Pine
|
||||
'#c4a7e7', -- Iris
|
||||
'#31748f', -- Foam
|
||||
'#e0def4', -- Text
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
config.font = wezterm.font("Iosevka") -- Match font as close as possible
|
||||
config.font_size = 18.0 -- Slightly reduced size for a compact view
|
||||
config.line_height = 1.1 -- Adjusted line height
|
||||
|
||||
config.font = wezterm.font("Iosevka Slab")
|
||||
config.font_size = 18.0
|
||||
config.line_height = 1.1
|
||||
|
||||
return config
|
||||
|
||||
Reference in New Issue
Block a user