Created
November 17, 2025 19:16
-
-
Save sumeet/eec44f49ee3a53747d0b6d12d5c733db 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') | |
| config.keys = { | |
| { | |
| key = 'Enter', | |
| mods = 'ALT', | |
| action = wezterm.action.DisableDefaultAssignment, | |
| }, | |
| } | |
| return config |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment