From 4089ede00a6b74321263b7496255f0d30a777fe5 Mon Sep 17 00:00:00 2001 From: Hunter Stasonis Date: Fri, 16 May 2025 19:11:51 -0400 Subject: [PATCH] update cfg --- config/wezterm/colors/Mountain.toml | 10 +++ config/wezterm/colors/ef-arbutus.toml | 33 +++++++++ config/wezterm/colors/ef-autumn.toml | 33 +++++++++ config/wezterm/colors/kanagawa-paper-ink.toml | 73 +++++++++++++++++++ config/wezterm/colors/melange_dark.toml | 32 ++++++++ config/wezterm/wezterm.lua | 43 ++++++++--- config/zsh/.zshrc | 12 ++- 7 files changed, 222 insertions(+), 14 deletions(-) create mode 100644 config/wezterm/colors/Mountain.toml create mode 100644 config/wezterm/colors/ef-arbutus.toml create mode 100644 config/wezterm/colors/ef-autumn.toml create mode 100644 config/wezterm/colors/kanagawa-paper-ink.toml create mode 100644 config/wezterm/colors/melange_dark.toml diff --git a/config/wezterm/colors/Mountain.toml b/config/wezterm/colors/Mountain.toml new file mode 100644 index 0000000..41f076b --- /dev/null +++ b/config/wezterm/colors/Mountain.toml @@ -0,0 +1,10 @@ +[colors] +foreground = "#f0f0f0" +background = "#0f0f0f" +cursor_bg = "#f0f0f0" +cursor_fg = "#f0f0f0" +cursor_border = "#262626" +split = "#4c4c4c" + +ansi = [ "#8f8aac", "#ac8a8c", "#8aac8b", "#aca98a", "#8aabac", "#ac8aac","#8aabac", "#e7e7e8" ] +brights = [ "#a39ec4", "#c49ea0", "#9ec49f", "#c4c19e", "#9ec3c4", "#c49ec4", "#9ec3c4", "#f0f0f0" ] diff --git a/config/wezterm/colors/ef-arbutus.toml b/config/wezterm/colors/ef-arbutus.toml new file mode 100644 index 0000000..0799b6d --- /dev/null +++ b/config/wezterm/colors/ef-arbutus.toml @@ -0,0 +1,33 @@ +[colors] +ansi = [ + '#f0d8cf', + '#b0000f', + '#007000', + '#906200', + '#375cc6', + '#a23ea4', + '#3f69af', + '#393330' +] +brights = [ + '#c7b2ab', + '#aa184f', + '#00704f', + '#8a6340', + '#265fbf', + '#6448ca', + '#0f7688', + '#6e678f' +] +cursor_bg = '#208f10' +cursor_border = '#208f10' +cursor_fg = '#ffead8' +background = '#ffead8' +foreground = '#393330' +selection_bg = '#dbe0c0' +selection_fg = '#393330' + +[metadata] +name = 'Ef-Arbutus' +author = 'anhsirk0' +origin_url = 'https://git.sr.ht/~protesilaos/ef-themes/tree/main/item/ef-arbutus-theme.el' diff --git a/config/wezterm/colors/ef-autumn.toml b/config/wezterm/colors/ef-autumn.toml new file mode 100644 index 0000000..7983cd2 --- /dev/null +++ b/config/wezterm/colors/ef-autumn.toml @@ -0,0 +1,33 @@ +[colors] +ansi = [ + '#26211d', + '#ef656a', + '#2fa526', + '#c48702', + '#379cf6', + '#d570af', + '#4fb0cf', + '#cfbcba' +] +brights = [ + '#56524f', + '#ff7a7f', + '#00b066', + '#df8f6f', + '#029fff', + '#af8aff', + '#3dbbb0', + '#887c8a' +] +cursor_bg = '#ffaa33' +cursor_border = '#ffaa33' +cursor_fg = '#0f0e06' +background = '#0f0e06' +foreground = '#cfbcba' +selection_bg = '#3f1324' +selection_fg = '#cfbcba' + +[metadata] +name = 'Ef-Autumn' +author = 'anhsirk0' +origin_url = 'https://git.sr.ht/~protesilaos/ef-themes/tree/main/item/ef-autumn-theme.el' diff --git a/config/wezterm/colors/kanagawa-paper-ink.toml b/config/wezterm/colors/kanagawa-paper-ink.toml new file mode 100644 index 0000000..dfac941 --- /dev/null +++ b/config/wezterm/colors/kanagawa-paper-ink.toml @@ -0,0 +1,73 @@ +# ----------------------------------------------------------------------------- +# Kanagawa Paper Ink +# Upstream: https://github.com/thesimonho/kanagawa-paper.nvim/master/extras/wezterm/kanagawa-paper-ink.toml +# URL: https://wezterm.org/config/appearance.html +# ----------------------------------------------------------------------------- + +[colors] +foreground = "#DCD7BA" +background = "#1F1F28" +cursor_bg = "#c4b28a" +cursor_border = "#c4b28a" +cursor_fg = "#1F1F28" +selection_bg = "#363646" +selection_fg = "#393836" +split = "#8992a7" +compose_cursor = "#8ea49e" +scrollbar_thumb = "#363646" + +ansi = [ + "#393836", + "#c4746e", + "#699469", + "#c4b28a", + "#435965", + "#a292a3", + "#8ea49e", + "#C8C093", +] +brights = [ + "#aca9a4", + "#cc928e", + "#72a072", + "#d4c196", + "#698a9b", + "#b4a7b5", + "#96ada7", + "#d5cd9d", +] + +[colors.indexed] +16 = "#b6927b" +17 = "#c4746e" + +[colors.tab_bar] +background = "#2A2A37" +inactive_tab_edge = "#658594" + +[colors.tab_bar.active_tab] +fg_color = "#c4b28a" +bg_color = "#1F1F28" +intensity = "Bold" + +[colors.tab_bar.inactive_tab] +fg_color = "#9e9b93" +bg_color = "#2A2A37" + +[colors.tab_bar.inactive_tab_hover] +fg_color = "#a292a3" +bg_color = "#1F1F28" + +[colors.tab_bar.new_tab] +fg_color = "#9e9b93" +bg_color = "#2A2A37" + +[colors.tab_bar.new_tab_hover] +fg_color = "#a292a3" +bg_color = "#1F1F28" +intensity = "Bold" + +[metadata] +name = "kanagawa-paper-ink" +author = "Simon Ho" +origin_url = "https://github.com/thesimonho/kanagawa-paper.nvim/master/extras/wezterm/kanagawa-paper-ink.toml" diff --git a/config/wezterm/colors/melange_dark.toml b/config/wezterm/colors/melange_dark.toml new file mode 100644 index 0000000..bb0a722 --- /dev/null +++ b/config/wezterm/colors/melange_dark.toml @@ -0,0 +1,32 @@ +[colors] +foreground = "#ECE1D7" +background = "#292522" +cursor_bg = "#ECE1D7" +cursor_border = "#ECE1D7" +cursor_fg = "#292522" +selection_bg = "#403A36" +selection_fg = "#ECE1D7" +ansi = [ + "#34302C", + "#BD8183", + "#78997A", + "#E49B5D", + "#7F91B2", + "#B380B0", + "#7B9695", + "#C1A78E" +] +brights = [ + "#867462", + "#D47766", + "#85B695", + "#EBC06D", + "#A3A9CE", + "#CF9BC2", + "#89B3B6", + "#ECE1D7" +] + +[metadata] +name = "melange_dark" +author = "savq" diff --git a/config/wezterm/wezterm.lua b/config/wezterm/wezterm.lua index 2e0287f..ffb4201 100644 --- a/config/wezterm/wezterm.lua +++ b/config/wezterm/wezterm.lua @@ -1,22 +1,45 @@ -local wezterm = require 'wezterm' +local wezterm = require("wezterm") local config = {} +config.prefer_egl = true +config.enable_wayland = true +config.prefer_to_spawn_tabs = false +config.scrollback_lines = 9000 config.animation_fps = 60 config.use_fancy_tab_bar = false config.tab_bar_at_bottom = true +config.hide_tab_bar_if_only_one_tab = false +--config.font = wezterm.font("Cascadia Code NF") +--config.font = wezterm.font("Comic Mono") config.font = wezterm.font("Comic Code Ligatures") -config.font_size = 25 -config.freetype_load_target = "Light" -config.default_cursor_style = "BlinkingBlock" +--config.font = wezterm.font("AnonymicePro Nerd Font") +--config.font = wezterm.font("Fantasque Sans Mono") +--config.font = wezterm.font("AdwaitaMono Nerd Font") + +config.font_size = 25 +config.freetype_load_target = "Normal" +config.default_cursor_style = "SteadyBlock" +config.cursor_thickness = "5pt" + +--config.color_scheme = "duskfox" +--config.color_scheme = "oxocarbon" +--config.color_scheme = "Solarized (dark) (terminal.sexy)" +--config.color_scheme = "nightfox" +--config.color_scheme = "dayfox" +--config.color_scheme = "Catch Me If You Can (terminal.sexy)" + +if wezterm.gui.get_appearance() == "Light" then + config.color_scheme = "Ef-Arbutus" +else + config.color_scheme = "Ef-Autumn" +end -config.colors = require("ashen") config.window_padding = { - left = 20, - right = 20, - top = 0, - bottom = 0, + left = 0, + right = 0, + top = 10, + bottom = 0, } - return config diff --git a/config/zsh/.zshrc b/config/zsh/.zshrc index 8c937bc..c7640c8 100644 --- a/config/zsh/.zshrc +++ b/config/zsh/.zshrc @@ -10,6 +10,9 @@ export SAVEHIST=10000000 export EDITOR=nvim export ZVM_CURSOR_STYLE_ENABLED=false +export MANPAGER="sh -c 'col -bx | bat -l man -p'" +export MANROFFOPT="-c" + zinit load zsh-users/zsh-autosuggestions zinit load zsh-users/zsh-syntax-highlighting zinit load zsh-users/zsh-completions @@ -17,13 +20,14 @@ zinit ice depth=1; zinit light jeffreytse/zsh-vi-mode export PS1="%F{green}%n%F{white}@%F{cyan}%m%F{reset}:%F{magenta}%~%F{reset}$ " -export SYSTEMD_PAGER= +export SYSTEMD_PAGER=bat +export PAGER=bat . "$HOME/.cargo/env" export PATH=$HOME/.local/bin:$PATH # Auto login to sway -if [[ $(tty) == "/dev/tty1" ]]; then - sway -fi +#if [[ $(tty) == "/dev/tty1" ]]; then +# sway +#fi