feat(wezterm): add onedark
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
[metadata]
|
||||
name = "onedark"
|
||||
origin_url = "https://github.com/owallb/dotfiles"
|
||||
|
||||
[colors]
|
||||
background = "#1f2329"
|
||||
foreground = "#a0a8b7"
|
||||
cursor_bg = "#a0a8b7"
|
||||
cursor_fg = "#1e2127"
|
||||
cursor_border = "#a0a8b7"
|
||||
selection_bg = "#323641"
|
||||
# selection_fg = "#1f2329"
|
||||
scrollbar_thumb = "#535965"
|
||||
split = "#323641"
|
||||
compose_cursor = "#e8c88c"
|
||||
visual_bell = "#e8c88c"
|
||||
ansi = [
|
||||
"#181a1f",
|
||||
"#e55561",
|
||||
"#8ebd6b",
|
||||
"#e2b86b",
|
||||
"#4fa6ed",
|
||||
"#bf68d9",
|
||||
"#48b0bd",
|
||||
"#a0a8b7",
|
||||
]
|
||||
brights = [
|
||||
"#5c6370",
|
||||
"#e86671",
|
||||
"#98c379",
|
||||
"#e5c07b",
|
||||
"#61afef",
|
||||
"#c678dd",
|
||||
"#56b6c2",
|
||||
"#abb2bf",
|
||||
]
|
||||
@@ -4,7 +4,7 @@ local M = {}
|
||||
|
||||
function M.setup()
|
||||
wezterm.on("format-window-title", function()
|
||||
return "WezTerm"
|
||||
return "Terminal"
|
||||
end)
|
||||
wezterm.on("format-tab-title", function(tab, _, _, _, _, _)
|
||||
local title = tab.tab_title
|
||||
|
||||
@@ -2,7 +2,7 @@ local wezterm = require("wezterm")
|
||||
|
||||
local config = wezterm.config_builder()
|
||||
|
||||
local ENABLE_MULTIPLEXING = false
|
||||
local ENABLE_MULTIPLEXING = true
|
||||
|
||||
-- quickstart: https://wezfurlong.org/wezterm/config/files.html
|
||||
-- spec: https://wezfurlong.org/wezterm/config/lua/general.html
|
||||
@@ -34,7 +34,7 @@ end
|
||||
|
||||
-- Colors
|
||||
|
||||
config.color_scheme = "moonfly"
|
||||
config.color_scheme = "onedark"
|
||||
|
||||
-- Fonts
|
||||
|
||||
@@ -57,9 +57,33 @@ if ENABLE_MULTIPLEXING then
|
||||
config.window_decorations = "INTEGRATED_BUTTONS|RESIZE"
|
||||
config.enable_tab_bar = true
|
||||
config.enable_scroll_bar = true
|
||||
config.use_fancy_tab_bar = false
|
||||
config.use_fancy_tab_bar = true
|
||||
config.show_new_tab_button_in_tab_bar = false
|
||||
config.leader = { key = "b", mods = "CTRL", timeout_milliseconds = 1000 }
|
||||
config.leader = { key = "z", mods = "CTRL", timeout_milliseconds = 1000 }
|
||||
|
||||
config.window_frame = {
|
||||
-- active_titlebar_bg = "#181b20",
|
||||
-- inactive_titlebar_bg = "#323641",
|
||||
}
|
||||
|
||||
config.colors = {
|
||||
tab_bar = {
|
||||
inactive_tab_edge = "#282c34",
|
||||
active_tab = {
|
||||
bg_color = "#1f2329",
|
||||
fg_color = "#a0a8b7",
|
||||
},
|
||||
inactive_tab = {
|
||||
bg_color = "#282c34",
|
||||
fg_color = "#a0a8b7",
|
||||
},
|
||||
inactive_tab_hover = {
|
||||
bg_color = "#282c34",
|
||||
fg_color = "#a0a8b7",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
bindings.enable_multiplexing()
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user