Skip to content

Instantly share code, notes, and snippets.

@JettIsOnTheNet
Created May 22, 2024 18:06
Show Gist options
  • Select an option

  • Save JettIsOnTheNet/f37756444b97125c5694b3aa1017ae84 to your computer and use it in GitHub Desktop.

Select an option

Save JettIsOnTheNet/f37756444b97125c5694b3aa1017ae84 to your computer and use it in GitHub Desktop.
-- call wezterm API
local wezterm = require 'wezterm'
local config = {}
-- newer version of wezterm use the config_builder
if wezterm.config_builder then
config = wezterm.config_builder()
end
-- tab bar off
-- i disable tab bar, CMD/SUPERMETA+1234 changes tab still
config.enable_tab_bar = false
-- font with patched ligatures
config.font = wezterm.font 'Glass TTY VT220'
config.font_size = 25.0
-- adjust brightness of terminal
config.foreground_text_hsb = {
hue = 1.0,
saturation = 0.9,
brightness = 0.8
}
-- theme:
config.color_scheme = 'Dracula_01'
-- You can set this to one of the built ins EG:
-- config.color_scheme = 'Catppuccin Mocha'
-- theme: black background overrides
config.colors = {
background = 'black',
cursor_fg = 'black',
cursor_bg = '#8dc289'
}
-- cursor blink rate
-- animation_fps = 1 means it is on or off blinking.
-- other values with fade
config.animation_fps = 1
config.default_cursor_style = 'BlinkingBlock'
config.cursor_blink_rate = 600
config.cursor_blink_ease_in = 'Constant'
config.cursor_blink_ease_out = 'Constant'
-- set max fps
-- i set this for low resource usage. it's a terminal ffs.
config.max_fps = 30
return config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment