Skip to content

Instantly share code, notes, and snippets.

@jeffschwartz
Created December 2, 2024 21:49
Show Gist options
  • Save jeffschwartz/4d2836f5b1773aeb5f25a4edc09600f5 to your computer and use it in GitHub Desktop.
Save jeffschwartz/4d2836f5b1773aeb5f25a4edc09600f5 to your computer and use it in GitHub Desktop.
Westerm lua configuration file
-- Pull in the wezterm API
local wezterm = require("wezterm")
-- This table will hold the configuration.
local config = {}
-- In newer versions of wezterm, use the config_builder which will
-- help provide clearer error messages
if wezterm.config_builder then
config = wezterm.config_builder()
end
-- This is where you actually apply your config choices
-- config.window_decorations = "RESIZE"
config.hide_tab_bar_if_only_one_tab = true
-- config.color_scheme = "Tokyo Nights"
config.color_scheme = "Catppuccin Mocha"
-- config.window_background_opacity = 0.3
-- config.macos_window_background_blur = 20
-- config.window_background_image = "/Users/jeffreyschwartz/Pictures/Wallpapers/anime.jpg"
-- config.window_background_image = "/Users/jeffreyschwartz/Pictures/Wallpapers/pexels-francesco-ungaro-998641.jpg"
-- config.window_background_image = "/Users/jeffreyschwartz/Pictures/Wallpapers/pexels-adrien-olichon-1257089-2387793.jpg"
config.window_background_image = "/Users/jeffreyschwartz/Pictures/Wallpapers/cat-astronaut.jpg"
config.background = {
{
source = {
Color = "#000000",
},
width = "100%",
height = "100%",
opacity = 0.75,
},
}
config.font = wezterm.font("JetBrains Mono")
config.font_size = 16
config.adjust_window_size_when_changing_font_size = false
-- run the zellij welcome screen
config.default_prog = { "/opt/homebrew/bin/zellij", "-l", "welcome" }
-- and finally, return the configuration to wezterm
return config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment