diff options
-rw-r--r-- | makefile | 1 | ||||
-rw-r--r-- | tmux/.config/tmux/tmux.conf | 2 | ||||
-rw-r--r-- | wezterm/.config/wezterm/wezterm.lua | 37 |
3 files changed, 39 insertions, 1 deletions
@@ -27,6 +27,7 @@ stow: # Install configs @stow streamlink @stow sway @stow tmux + @stow wezterm @stow zsh @if [ -n "$$WSL_DISTRO_NAME" ]; then stow wsl --override=/*; fi diff --git a/tmux/.config/tmux/tmux.conf b/tmux/.config/tmux/tmux.conf index b15fdde..b244289 100644 --- a/tmux/.config/tmux/tmux.conf +++ b/tmux/.config/tmux/tmux.conf @@ -1,6 +1,6 @@ # TODO: Figure out how to get undercurls working on windows (works on linux) # support 256 color -set -g default-terminal 'alacritty' +set -g default-terminal 'xterm-256color' set -as terminal-overrides ',*:Tc' # undercurl / colored underline support diff --git a/wezterm/.config/wezterm/wezterm.lua b/wezterm/.config/wezterm/wezterm.lua new file mode 100644 index 0000000..84c908a --- /dev/null +++ b/wezterm/.config/wezterm/wezterm.lua @@ -0,0 +1,37 @@ +local wezterm = require("wezterm") + +if wezterm.target_triple == "x86_64-pc-windows-msvc" then + local is_win = true +end + +local config = { + default_prog = { + "/usr/bin/zsh", + "-l", + "-c", + "tmux new -As home", + }, + + enable_tab_bar = false, + color_scheme = "Gruvbox dark, hard (base16)", + window_padding = { + left = 0, + right = 0, + top = 0, + bottom = 0, + }, + + window_background_opacity = 0.9, + font = wezterm.font_with_fallback({ "FiraCode Nerd Font", "FireCodeNF" }), + font_size = 11, + + -- disable_default_key_bindings = true, + keys = { + { key = "-", mods = "CTRL", action = "DecreaseFontSize" }, + { key = "=", mods = "CTRL", action = "IncreaseFontSize" }, + }, + + alternate_buffer_wheel_scroll_speed = 1, +} + +return config |