Skip to content

Instantly share code, notes, and snippets.

@metrofx
Created August 7, 2024 06:08
Show Gist options
  • Save metrofx/02af9fa689781bc2a34ac23bc80f4681 to your computer and use it in GitHub Desktop.
Save metrofx/02af9fa689781bc2a34ac23bc80f4681 to your computer and use it in GitHub Desktop.
WezTerm Config
local wezterm = require 'wezterm'
local config = wezterm.config_builder()
-- This is where you actually apply your config choices
-- config.default_prog = { 'pwsh.exe' }
config.default_prog = { 'ubuntu.exe' }
config.keys = {
{ key = 'q', mods = 'CTRL', action = wezterm.action.QuitApplication },
{ key = 'w', mods = 'CTRL', action = wezterm.action.CloseCurrentTab { confirm = true },}}
-- config.color_scheme = 'Default (dark) (terminal.sexy)'
config.color_scheme = 'Dracula'
-- config.color_scheme = 'Dark Ocean (terminal.sexy)'
config.font = wezterm.font_with_fallback {
'JetBrainsMono Nerd Font Mono',
'MesloLGM Nerd Font',
'Fira Code',
}
-- config.font = wezterm.font('JetBrainsMono Nerd Font Mono')
config.font_size = 10
config.window_background_opacity = 0.8
-- config.window_decorations = "INTEGRATED_BUTTONS"
config.window_decorations = "TITLE | RESIZE"
config.hide_tab_bar_if_only_one_tab = true
config.default_cursor_style = 'BlinkingBlock'
config.animation_fps = 1
config.cursor_blink_ease_in = 'Constant'
config.cursor_blink_ease_out = 'Constant'
return config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment