Fix UI on Windows
This commit is contained in:
@@ -1,10 +1,10 @@
|
|||||||
-- pull in the wezterm API
|
-- pull in the wezterm API
|
||||||
local wezterm = require('wezterm')
|
local wezterm = require('wezterm')
|
||||||
|
config = wezterm.config_builder()
|
||||||
|
|
||||||
require "theme"
|
require "theme"
|
||||||
require "keys"
|
require "keys"
|
||||||
|
|
||||||
-- This will hold the configuration
|
|
||||||
local config = wezterm.config_builder()
|
|
||||||
|
|
||||||
config.enable_tab_bar = false
|
config.enable_tab_bar = false
|
||||||
-- The most common triples are:
|
-- The most common triples are:
|
||||||
|
|||||||
@@ -1,10 +1,16 @@
|
|||||||
local wezterm = require 'wezterm'
|
local wezterm = require 'wezterm'
|
||||||
config.window_decorations = "INTEGRATED_BUTTONS | TITLE | RESIZE"
|
|
||||||
|
|
||||||
config.colors = { background = "#1e1e2e" }
|
config.colors = { background = "#1e1e2e" }
|
||||||
config.color_scheme = 'Catppuccin Mocha'
|
config.color_scheme = 'Catppuccin Mocha'
|
||||||
config.window_background_opacity = 0.9
|
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 = {
|
config.window_frame = {
|
||||||
font = wezterm.font { family = 'Roboto', weight = 'Bold' },
|
font = wezterm.font { family = 'Roboto', weight = 'Bold' },
|
||||||
font_size = 12,
|
font_size = 12,
|
||||||
|
|||||||
Reference in New Issue
Block a user