Created
December 4, 2024 04:55
-
-
Save jshwlkr/545d044d7029a8ea866423b7c382e0f7 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 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 |
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 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 |
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 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