Created
October 17, 2025 01:18
-
-
Save sumeet/1782dcdf369ca12cbd7a12af41ec3c55 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| local wezterm = require 'wezterm' | |
| local names = {} | |
| for name, _ in pairs(wezterm.color.get_builtin_schemes()) do | |
| table.insert(names, name) | |
| end | |
| math.randomseed(os.time()) | |
| wezterm.on('window-config-reloaded', function(window, pane) | |
| -- first time this window loads config → pick a scheme | |
| if not window:get_config_overrides() then | |
| local scheme = names[math.random(#names)] | |
| window:set_config_overrides({ color_scheme = scheme }) | |
| end | |
| end) | |
| local config = wezterm.config_builder() | |
| config.font_size = 19 | |
| config.window_decorations = "RESIZE" | |
| config.use_fancy_tab_bar = true | |
| config.hide_tab_bar_if_only_one_tab = true | |
| config.font = wezterm.font('Victor Mono') | |
| return config |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment