diff --git a/install/install-symlinks.sh b/install/install-symlinks.sh index fb1d22a..c4e4ad1 100755 --- a/install/install-symlinks.sh +++ b/install/install-symlinks.sh @@ -30,5 +30,6 @@ install_symlink "$ROOTDIR/helix" "$HOME/.config/helix" install_symlink "$ROOTDIR/nix" "$HOME/.config/nix" install_symlink "$ROOTDIR/ripgrep" "$HOME/.config/ripgrep" install_symlink "$ROOTDIR/sbt" "$HOME/.config/sbt" +install_symlink "$ROOTDIR/wezterm" "$HOME/.config/wezterm" echo diff --git a/wezterm/wezterm.lua b/wezterm/wezterm.lua new file mode 100644 index 0000000..42e6b0f --- /dev/null +++ b/wezterm/wezterm.lua @@ -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, +}