Add wezterm dotfiles
This commit is contained in:
parent
c1f1491d6b
commit
3193589c51
12
wezterm/.config/wezterm/appearance.lua
Normal file
12
wezterm/.config/wezterm/appearance.lua
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
local wezterm = require 'wezterm'
|
||||||
|
|
||||||
|
local module = {}
|
||||||
|
|
||||||
|
function module.is_dark()
|
||||||
|
if wezterm.gui then
|
||||||
|
return wezterm.gui.get_appearance():find("Dark")
|
||||||
|
end
|
||||||
|
return true
|
||||||
|
end
|
||||||
|
|
||||||
|
return module
|
28
wezterm/.config/wezterm/wezterm.lua
Normal file
28
wezterm/.config/wezterm/wezterm.lua
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
local wezterm = require 'wezterm'
|
||||||
|
local appearance = require 'appearance'
|
||||||
|
|
||||||
|
local config = wezterm.config_builder()
|
||||||
|
|
||||||
|
-- https://wezfurlong.org/wezterm/colorschemes/index.html
|
||||||
|
|
||||||
|
-- if appearance.is_dark() then
|
||||||
|
config.color_scheme = 'Catppuccin Mocha'
|
||||||
|
|
||||||
|
-- else
|
||||||
|
-- config.color_scheme = 'Catppuccin Latte'
|
||||||
|
--end
|
||||||
|
|
||||||
|
config.font = wezterm.font({ family = 'FantasqueSansM Nerd Font' })
|
||||||
|
config.font_size = 14
|
||||||
|
|
||||||
|
-- config.window_background_opacity = 1
|
||||||
|
-- config.macos_window_background_blur = 30
|
||||||
|
config.window_decorations = 'RESIZE|INTEGRATED_BUTTONS'
|
||||||
|
config.window_frame = {
|
||||||
|
font = wezterm.font({ family = 'FantasqueSansM Nerd Font', weight = 'Bold' }),
|
||||||
|
font_size = 14
|
||||||
|
}
|
||||||
|
|
||||||
|
config.default_prog = { '/opt/homebrew/bin/fish', '-li' }
|
||||||
|
|
||||||
|
return config
|
Loading…
Reference in New Issue
Block a user