From 355825df4469699b51b0ddab401c80485bd6f940 Mon Sep 17 00:00:00 2001 From: irrlicht Date: Sun, 26 Apr 2026 00:24:09 +0200 Subject: [PATCH] Added Wezterm --- .gitignore | 1 + wezterm/colors | 51 +++++++++++++++++++++++++++++++++++++++++++++ wezterm/wezterm.lua | 48 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 100 insertions(+) create mode 100644 wezterm/colors create mode 100644 wezterm/wezterm.lua diff --git a/.gitignore b/.gitignore index dcd03cc..4f306bf 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ * !.gitignore !wezterm/ +!wezterm/** diff --git a/wezterm/colors b/wezterm/colors new file mode 100644 index 0000000..ed09519 --- /dev/null +++ b/wezterm/colors @@ -0,0 +1,51 @@ +# gruvbox dark by morhetz, https://github.com/morhetz/gruvbox +# This work is licensed under the terms of the MIT license. +# For a copy, see https://opensource.org/licenses/MIT. + +# 235_bg, 223_fg1 +background #282828 +foreground #ebdbb2 + +# 245_gray, 237_bg1 +selection_foreground #928374 +selection_background #3c3836 + +# 229_fg0, 236_bg0_s +cursor #fbf1c7 +cursor_text_color #32302f + +# 208_orange +url_color #fe8019 + +# 235_bg, 241_bg3 +color0 #282828 +color8 #665c54 + +# 124_red, 167_red +color1 #cc241d +color9 #fb4934 + +# 106_green, 142_green +color2 #98971a +color10 #b8bb26 + +# 172_yellow, 214_yellow +color3 #d79921 +color11 #fabd2f + +# 72_aqua, 109_blue +color4 #689d6a +color12 #83a598 + +# 132_purple, 175_purple +color5 #b16286 +color13 #d3869b + +# 72_aqua, 108_aqua +color6 #689d6a +color14 #8ec07c + +# 246_gray, 245_gray +color7 #a89984 +color15 #928374 + diff --git a/wezterm/wezterm.lua b/wezterm/wezterm.lua new file mode 100644 index 0000000..ce39074 --- /dev/null +++ b/wezterm/wezterm.lua @@ -0,0 +1,48 @@ +-- Pull in the wezterm API +local wezterm = require 'wezterm' + +-- This will hold the configuration. +local config = wezterm.config_builder() + +-- This is where you actually apply your config choices. + +-- or, changing the font size and color scheme. +config.font_size = 12 +config.hide_tab_bar_if_only_one_tab = true + +-- Gruvbox Dark color theme +config.colors = { + foreground = '#ebdbb2', + background = '#282828', + + cursor_bg = '#fbf1c7', + cursor_fg = '#32302f', + cursor_border = '#fbf1c7', + + selection_fg = '#928374', + selection_bg = '#3c3836', + + ansi = { + '#282828', -- black + '#cc241d', -- red + '#98971a', -- green + '#d79921', -- yellow + '#689d6a', -- blue + '#b16286', -- magenta + '#689d6a', -- cyan + '#a89984', -- white + }, + brights = { + '#665c54', -- bright black + '#fb4934', -- bright red + '#b8bb26', -- bright green + '#fabd2f', -- bright yellow + '#83a598', -- bright blue + '#d3869b', -- bright magenta + '#8ec07c', -- bright cyan + '#928374', -- bright white + }, +} + +-- Finally, return the configuration to wezterm: +return config