This commit is contained in:
Daniel Flanagan 2023-05-24 15:35:28 -05:00
parent e7c10902ad
commit 4d45d49eb7
Signed by: lytedev
GPG Key ID: 5B2020A0F9921EF4
2 changed files with 31 additions and 11 deletions

View File

@ -7,16 +7,35 @@ if wezterm.config_builder then
config = wezterm.config_builder()
end
local hostname = io.popen("/bin/hostname"):read("*a"):gsub("%s", "")
local font_spec = { family = 'IosevkaLyteTerm', weight = 'Regular', italic = false }
local font_size = 12.0
if hostname == "laptop" then
font_size = 13
end
local font = wezterm.font_with_fallback{
font_spec,
{ family = 'Symbols Nerd Font Mono', weight = 'Regular', italic = false },
'Noto Color Emoji',
}
if hostname == "laptop" then
config.font_rules = {
-- no italics
{
font = font
},
}
end
config.default_cursor_style = 'BlinkingBar'
catpuccin.apply_to_config(config)
config.font = wezterm.font_with_fallback{
{ family = 'IosevkaLyteTerm', weight = 'Regular', italic = false },
{ family = 'Symbols Nerd Font Mono', weight = 'Regular', italic = false },
'Noto Color Emoji',
}
config.font_size = 12.0
config.font = font
config.font_size = font_size
config.hide_tab_bar_if_only_one_tab = true
config.use_fancy_tab_bar = false
@ -26,7 +45,7 @@ config.window_background_opacity = 1.0
config.color_scheme = "Catppuccin Mocha"
config.window_frame.font = config.font
config.window_frame.font_size = 12.0
config.window_frame.font_size = font_size
config.inactive_pane_hsb = {
saturation = 0.8,

View File

@ -1,4 +1,5 @@
preload = ~/../img/walls/orange-blue-cube.jpg
wallpaper = DP-1,~/../img/walls/orange-blue-cube.jpg
wallpaper = DP-2,~/../img/walls/orange-blue-cube.jpg
wallpaper = DP-3,~/../img/walls/orange-blue-cube.jpg
preload = ~/../img/walls/wallpaper.png
wallpaper = eDP-1,~/../img/walls/wallpaper.png
wallpaper = DP-1,~/../img/walls/wallpaper.png
wallpaper = DP-2,~/../img/walls/wallpaper.png
wallpaper = DP-3,~/../img/walls/wallpaper.png