]> git.rmz.io Git - dotfiles.git/commitdiff
wezterm: introduce wezterm with basic config
authorSamir Benmendil <me@rmz.io>
Wed, 21 Feb 2024 01:15:01 +0000 (01:15 +0000)
committerSamir Benmendil <me@rmz.io>
Wed, 21 Feb 2024 01:26:42 +0000 (01:26 +0000)
Makefile
wezterm/wezterm.lua [new file with mode: 0644]

index a2457785c6fc917b86fb3fc1c3491b36c1a30d4d..fb253764ee607124e5ce0b6e2b1d6273b3445f48 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -178,6 +178,10 @@ weechat: $(XDG_CONFIG_HOME) $(XDG_CACHE_HOME)
        mkdir -p $(XDG_CACHE_HOME)/weechat
 .PHONY: weechat
 
+wezterm: $(XDG_CONFIG_HOME)
+       ln -sfT $(APATH)/$@ $(XDG_CONFIG_HOME)/$@
+.PHONY: wezterm
+
 zathura: $(XDG_CONFIG_HOME)
        ln -sfT $(APATH)/$@ $(XDG_CONFIG_HOME)/$@
 .PHONY: zathura
diff --git a/wezterm/wezterm.lua b/wezterm/wezterm.lua
new file mode 100644 (file)
index 0000000..a4627b1
--- /dev/null
@@ -0,0 +1,20 @@
+---@type WezTerm
+local wezterm = require('wezterm')
+---@type _.wezterm.ConfigBuilder
+local config = {}
+
+-- color
+config.color_scheme = 'nord'
+-- font
+config.font         = wezterm.font('Fira Code')
+config.font_size    = 11
+config.harfbuzz_features = { 'ss03' }
+
+config.adjust_window_size_when_changing_font_size = false
+
+config.hide_tab_bar_if_only_one_tab = true
+config.tab_bar_at_bottom            = true
+
+config.quick_select_alphabet = "aoeuisnthd"
+
+return config