Skip to content

Instantly share code, notes, and snippets.

@jshwlkr
Created December 4, 2024 04:55
Show Gist options
  • Select an option

  • Save jshwlkr/545d044d7029a8ea866423b7c382e0f7 to your computer and use it in GitHub Desktop.

Select an option

Save jshwlkr/545d044d7029a8ea866423b7c382e0f7 to your computer and use it in GitHub Desktop.
local wezterm = require 'wezterm'
local module = {}
function module.apply_to_config(config)
config.inactive_pane_hsb = {
saturation = 0.8,
brightness = 0.7
}
config.font_size = 14
config.color_scheme = "Catppuccin Mocha"
end
return module
local wezterm = require 'wezterm'
local config = {}
if wezterm.config_builder then
config = wezterm.config_builder()
end
local helpers = require 'helpers'
helpers.apply_to_config(config)
if wezterm.target_triple == 'x86_64-pc-windows-msvc' then
local windows = require 'windows'
windows.apply_to_config(config)
end
return config
local wezterm = require 'wezterm'
local module = {}
function module.apply_to_config(config)
local default_prog = {}
local launch_menu = {}
default_prog = { 'pwsh.exe', '-NoLogo' }
table.insert(launch_menu, {
label = 'PowerShell',
args = { 'powershell.exe', '-NoLogo' },
})
table.insert(launch_menu, {
label = 'Pwsh',
args = { 'pwsh.exe', '-NoLogo' },
})
config.default_prog = default_prog
config.launch_menu = launch_menu
end
return module
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment