dotfiles/home/apps/wezterm/wezterm.lua

41 lines
968 B
Lua
Raw Normal View History

2023-05-25 20:50:28 +02:00
---@type wezterm
local wezterm = require("wezterm")
2023-07-13 08:45:39 +02:00
local c = wezterm.config_builder()
2023-03-05 05:40:35 +01:00
require("keys").apply(c)
2023-06-21 23:46:11 +02:00
c.font = wezterm.font_with_fallback({
"Berkeley Mono",
"Symbols Nerd Font",
})
2023-03-05 05:40:35 +01:00
-- window
c.window_decorations = "RESIZE"
2023-05-18 12:30:46 +02:00
c.window_padding = { left = 0, right = 0, top = 0, bottom = 0 }
2023-03-05 05:40:35 +01:00
-- dim unfocused panes
c.inactive_pane_hsb = {
saturation = 1.0,
2023-05-18 12:30:46 +02:00
brightness = 0.8,
}
2023-03-05 05:40:35 +01:00
-- etc.
c.adjust_window_size_when_changing_font_size = false
c.audible_bell = "Disabled"
c.clean_exit_codes = { 130 }
c.default_cursor_style = "BlinkingBar"
c.launch_menu = {
{ label = "Music player", args = { "ncmpcpp" } },
}
2023-05-18 12:30:46 +02:00
c.command_palette_font_size = 13.0
c.window_frame = { font_size = 13.0 }
2023-03-21 05:44:39 +01:00
wezterm.plugin
.require("https://github.com/catppuccin/wezterm")
.apply_to_config(c, {
2023-07-13 08:45:39 +02:00
sync = true,
2023-03-21 05:44:39 +01:00
sync_flavors = { light = "latte", dark = "mocha" },
})
2023-03-20 23:30:58 +01:00
wezterm.plugin
.require("https://github.com/nekowinston/wezterm-bar")
.apply_to_config(c)
2023-03-05 05:40:35 +01:00
return c