wez: set color scheme

This commit is contained in:
Charles Gould 2025-04-24 14:27:57 -05:00
parent fd18985e0a
commit b955f0b77d
2 changed files with 23 additions and 0 deletions

View File

@ -30,5 +30,6 @@ install_symlink "$ROOTDIR/helix" "$HOME/.config/helix"
install_symlink "$ROOTDIR/nix" "$HOME/.config/nix" install_symlink "$ROOTDIR/nix" "$HOME/.config/nix"
install_symlink "$ROOTDIR/ripgrep" "$HOME/.config/ripgrep" install_symlink "$ROOTDIR/ripgrep" "$HOME/.config/ripgrep"
install_symlink "$ROOTDIR/sbt" "$HOME/.config/sbt" install_symlink "$ROOTDIR/sbt" "$HOME/.config/sbt"
install_symlink "$ROOTDIR/wezterm" "$HOME/.config/wezterm"
echo echo

22
wezterm/wezterm.lua Normal file
View File

@ -0,0 +1,22 @@
local wezterm = require 'wezterm'
function get_appearance()
if wezterm.gui then
return wezterm.gui.get_appearance()
end
return 'Dark'
end
function scheme_for_appearance(appearance)
if appearance:find 'Dark' then
return 'catppuccin-frappe'
else
return 'catppuccin-latte'
end
end
return {
color_scheme = scheme_for_appearance(get_appearance()),
initial_cols = 168,
initial_rows = 42,
}