Skip to content

Commit

Permalink
feat(wezterm): Adjust appearance for new transparent style.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Ford authored and Alex Ford committed Jun 16, 2024
1 parent 1c54779 commit 69bbe7e
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 21 deletions.
6 changes: 3 additions & 3 deletions .wezterm.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ config.font_size = 14
config.font = wezterm.font_with_fallback({
-- { family = "BigBlueTermPlus Nerd Font", weight = "Regular" },
-- { family = "Cartograph CF", weight = "Bold" },
{ family = "ComicShannsMono Nerd Font", weight = "Regular" },
{ family = "ComicShannsMono Nerd Font", weight = "Bold" },
-- { family = "FiraCode Nerd Font", weight = "Bold" },
-- { family = "ProggyClean Nerd Font", weight = "Regular" },
-- { family = "ShureTechMono Nerd Font", weight = "Regular" },
Expand All @@ -35,12 +35,12 @@ config.mouse_wheel_scrolls_tabs = false
config.native_macos_fullscreen_mode = true
config.scrollback_lines = 100000
config.show_tab_index_in_tab_bar = true
config.tab_bar_at_bottom = true
config.tab_bar_at_bottom = false
config.term = "wezterm"
config.use_fancy_tab_bar = false
config.webgpu_power_preference = "HighPerformance"
config.webgpu_preferred_adapter = wezterm.gui.enumerate_gpus()[2]
config.window_background_opacity = 0.75
config.window_background_opacity = 0.9
config.window_close_confirmation = "NeverPrompt"
config.window_decorations = "INTEGRATED_BUTTONS|RESIZE"
config.window_padding = { left = 0, right = 0, top = 0, bottom = 0 }
Expand Down
2 changes: 1 addition & 1 deletion wezterm/color_schemes/catppuccin_pink_mocha.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
local config = require("config")

local background = "RGBA(26, 16, 22, 0)"
local background = "RGBA(26, 16, 22, 1)"

config.color_schemes["Catppuccin Pink Mocha"] = {
ansi = {
Expand Down
34 changes: 17 additions & 17 deletions wezterm/events/format-tab-title.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,31 +19,31 @@ wezterm.on("format-tab-title", function(tab)
local colors = config.color_schemes[config.color_scheme].tab_bar
if not tab.is_active then
return {
{ Background = { Color = colors.active_tab.fg_color } },
{ Foreground = { Color = colors.inactive_tab.bg_color } },
-- { Background = { Color = colors.active_tab.fg_color } },
-- { Foreground = { Color = colors.inactive_tab.bg_color } },
-- { Text = " " },
{ Text = section_separators.right },
-- { Text = section_separators.right },
{ Background = { Color = colors.inactive_tab.bg_color } },
{ Foreground = { Color = colors.inactive_tab.fg_color } },
{ Text = pane_title },
{ Background = { Color = colors.active_tab.fg_color } },
{ Foreground = { Color = colors.inactive_tab.bg_color } },
{ Text = section_separators.left },
{ Text = " " },
{ Text = " " .. pane_title .. " " },
-- { Background = { Color = colors.active_tab.fg_color } },
-- { Foreground = { Color = colors.inactive_tab.bg_color } },
-- { Text = section_separators.left },
-- { Text = " " },
}
end
return {
{ Attribute = { Intensity = "Bold" } },
{ Background = { Color = colors.active_tab.fg_color } },
{ Foreground = { Color = colors.active_tab.bg_color } },
-- { Attribute = { Intensity = "Bold" } },
-- { Background = { Color = colors.active_tab.fg_color } },
-- { Foreground = { Color = colors.active_tab.bg_color } },
-- { Text = " " },
{ Text = section_separators.right },
-- { Text = section_separators.right },
{ Background = { Color = colors.active_tab.bg_color } },
{ Foreground = { Color = colors.active_tab.fg_color } },
{ Text = pane_title },
{ Background = { Color = colors.active_tab.fg_color } },
{ Foreground = { Color = colors.active_tab.bg_color } },
{ Text = section_separators.left },
{ Text = " " },
{ Text = " " .. pane_title .. " " },
-- { Background = { Color = colors.active_tab.fg_color } },
-- { Foreground = { Color = colors.active_tab.bg_color } },
-- { Text = section_separators.left },
-- { Text = " " },
}
end)

0 comments on commit 69bbe7e

Please sign in to comment.