mv: .wezterm to its respective folder
This commit is contained in:
@@ -1,12 +0,0 @@
|
|||||||
local wezterm = require 'wezterm'
|
|
||||||
local config = {}
|
|
||||||
|
|
||||||
config.color_scheme = 'GruvboxDark'
|
|
||||||
config.font = wezterm.font 'ComicShannsMono Nerd Font Mono'
|
|
||||||
config.font_size = 16
|
|
||||||
config.enable_tab_bar = false
|
|
||||||
config.window_close_confirmation = "NeverPrompt"
|
|
||||||
config.default_domain = 'WSL:Arch'
|
|
||||||
config.audible_bell = 'Disabled'
|
|
||||||
|
|
||||||
return config
|
|
||||||
@@ -1,38 +1,21 @@
|
|||||||
-- Pull in the wezterm API
|
local wezterm = require 'wezterm'
|
||||||
local wezterm = require 'wezterm'
|
local config = {}
|
||||||
|
|
||||||
-- This table will hold the configuration.
|
config.color_scheme = 'GruvboxDark'
|
||||||
local config = {}
|
config.font = wezterm.font 'ComicShannsMono Nerd Font Mono'
|
||||||
|
config.font_size = 16
|
||||||
-- In newer versions of wezterm, use the config_builder which will
|
config.enable_tab_bar = false
|
||||||
-- help provide clearer error messages
|
config.window_close_confirmation = "NeverPrompt"
|
||||||
if wezterm.config_builder then
|
config.default_domain = 'WSL:Arch'
|
||||||
config = wezterm.config_builder()
|
config.audible_bell = 'Disabled'
|
||||||
end
|
|
||||||
|
-- Window padding
|
||||||
-- This is where you actually apply your config choices
|
config.window_padding = {
|
||||||
|
left = 24,
|
||||||
-- Set PWSH.exe as default on start
|
right = 24,
|
||||||
config.default.prog = { 'powershell' } -- if on windows 10 replace for 'pwsh.exe'
|
top = 8,
|
||||||
|
bottom = 8,
|
||||||
-- Font settings
|
}
|
||||||
config.font = wezterm.font 'FantasqueSansM Nerd Font'
|
|
||||||
config.font_size = 16
|
|
||||||
|
return config
|
||||||
-- Window padding
|
|
||||||
config.window_padding = {
|
|
||||||
left = 18,
|
|
||||||
right = 18,
|
|
||||||
top = 8,
|
|
||||||
bottom = 8,
|
|
||||||
}
|
|
||||||
|
|
||||||
-- Top bar settings
|
|
||||||
config.hide_tab_bar_if_only_one_tab = true
|
|
||||||
|
|
||||||
-- For example, changing the color scheme:
|
|
||||||
config.color_scheme = 'Gruvbox Dark (Gogh)'
|
|
||||||
|
|
||||||
|
|
||||||
-- and finally, return the configuration to wezterm
|
|
||||||
return config
|
|
||||||
|
|||||||
Reference in New Issue
Block a user