diff --git a/wezterm/dot-wezterm.lua b/wezterm/dot-wezterm.lua index 32477ae..f1d2985 100644 --- a/wezterm/dot-wezterm.lua +++ b/wezterm/dot-wezterm.lua @@ -1,10 +1,10 @@ -- pull in the wezterm API local wezterm = require('wezterm') +config = wezterm.config_builder() + require "theme" require "keys" --- This will hold the configuration -local config = wezterm.config_builder() config.enable_tab_bar = false -- The most common triples are: diff --git a/wezterm/theme.lua b/wezterm/theme.lua index c758a43..cf10d78 100644 --- a/wezterm/theme.lua +++ b/wezterm/theme.lua @@ -1,10 +1,16 @@ local wezterm = require 'wezterm' -config.window_decorations = "INTEGRATED_BUTTONS | TITLE | RESIZE" config.colors = { background = "#1e1e2e" } config.color_scheme = 'Catppuccin Mocha' config.window_background_opacity = 0.9 -config.window_decorations = "INTEGRATED_BUTTONS | TITLE | RESIZE" + + +if wezterm.target_triple == 'x86_64-pc-windows-msvc' then + config.window_decorations = "TITLE | RESIZE" +else + config.window_decorations = "INTEGRATED_BUTTONS | TITLE | RESIZE" +end + config.window_frame = { font = wezterm.font { family = 'Roboto', weight = 'Bold' }, font_size = 12,