style: formatting
This commit is contained in:
+13
-13
@@ -1,17 +1,17 @@
|
|||||||
local wezterm = require("wezterm")
|
local wezterm = require('wezterm')
|
||||||
local config = wezterm.config_builder()
|
local config = wezterm.config_builder()
|
||||||
local mux = wezterm.mux
|
local mux = wezterm.mux
|
||||||
|
|
||||||
wezterm.on("gui-startup", function()
|
wezterm.on('gui-startup', function()
|
||||||
local tab, pane, window = mux.spawn_window({})
|
local tab, pane, window = mux.spawn_window({})
|
||||||
window:gui_window():maximize()
|
window:gui_window():maximize()
|
||||||
end)
|
end)
|
||||||
|
|
||||||
-- required to allow nvim zen-mode to change the font size
|
-- required to allow nvim zen-mode to change the font size
|
||||||
wezterm.on("user-var-changed", function(window, pane, name, value)
|
wezterm.on('user-var-changed', function(window, pane, name, value)
|
||||||
local overrides = window:get_config_overrides() or {}
|
local overrides = window:get_config_overrides() or {}
|
||||||
if name == "ZEN_MODE" then
|
if name == 'ZEN_MODE' then
|
||||||
local incremental = value:find("+")
|
local incremental = value:find('+')
|
||||||
local number_value = tonumber(value)
|
local number_value = tonumber(value)
|
||||||
if incremental ~= nil then
|
if incremental ~= nil then
|
||||||
while number_value > 0 do
|
while number_value > 0 do
|
||||||
@@ -29,18 +29,18 @@ wezterm.on("user-var-changed", function(window, pane, name, value)
|
|||||||
end)
|
end)
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
window_close_confirmation = "NeverPrompt",
|
window_close_confirmation = 'NeverPrompt',
|
||||||
term = "xterm-256color",
|
term = 'xterm-256color',
|
||||||
enable_kitty_graphics = true,
|
enable_kitty_graphics = true,
|
||||||
max_fps = 60,
|
max_fps = 60,
|
||||||
color_scheme = "nord",
|
color_scheme = 'nord',
|
||||||
window_decorations = "RESIZE",
|
window_decorations = 'RESIZE',
|
||||||
enable_tab_bar = false,
|
enable_tab_bar = false,
|
||||||
default_cursor_style = "SteadyBlock",
|
default_cursor_style = 'SteadyBlock',
|
||||||
cursor_blink_ease_out = "Constant",
|
cursor_blink_ease_out = 'Constant',
|
||||||
cursor_blink_ease_in = "Constant",
|
cursor_blink_ease_in = 'Constant',
|
||||||
cursor_blink_rate = 0,
|
cursor_blink_rate = 0,
|
||||||
font = wezterm.font("JetBrainsMono Nerd Font"),
|
font = wezterm.font('JetBrainsMono Nerd Font'),
|
||||||
font_size = 14,
|
font_size = 14,
|
||||||
window_background_opacity = 0.85,
|
window_background_opacity = 0.85,
|
||||||
macos_window_background_blur = 9,
|
macos_window_background_blur = 9,
|
||||||
|
|||||||
Reference in New Issue
Block a user