feat(terminal): configure wezterm titlebar so it looks nice
When using wezterm on wayland the gnome titlebar dose not get used. The coloring of this is dark by default and dose not look good with a light background. Going forward I would like to configure this to adapt to the system light or dark settings.
This commit is contained in:
parent
a9a3164655
commit
e17f3f0e97
1 changed files with 16 additions and 0 deletions
|
|
@ -1,5 +1,8 @@
|
|||
local wezterm = require "wezterm"
|
||||
|
||||
local window_frame_fg = "#000000"
|
||||
local window_frame_bg = "#ffffff"
|
||||
|
||||
return {
|
||||
-- Use a sexy terminal font with ligatures.
|
||||
--font = wezterm.font("Liga SFMono Nerd Font"),
|
||||
|
|
@ -52,4 +55,17 @@ return {
|
|||
action = wezterm.action.SendKey { mods = "CTRL", key = "w" },
|
||||
},
|
||||
},
|
||||
|
||||
window_frame = {
|
||||
inactive_titlebar_bg = window_frame_bg,
|
||||
active_titlebar_bg = window_frame_bg,
|
||||
inactive_titlebar_fg = window_frame_fg,
|
||||
active_titlebar_fg = window_frame_fg,
|
||||
inactive_titlebar_border_bottom = window_frame_bg,
|
||||
active_titlebar_border_bottom = window_frame_bg,
|
||||
button_fg = window_frame_fg,
|
||||
button_bg = window_frame_bg,
|
||||
button_hover_fg = window_frame_bg,
|
||||
button_hover_bg = window_frame_fg,
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue