diff --git a/.chezmoiexternal.yaml b/.chezmoiexternal.yaml index c4c8810..4ad3cac 100644 --- a/.chezmoiexternal.yaml +++ b/.chezmoiexternal.yaml @@ -18,11 +18,6 @@ refreshPeriod: 168h # colors -.config/wezterm/colors/catppuccin: - type: git-repo - url: "https://github.com/catppuccin/wezterm.git" - refreshPeriod: 168h - .config/qutebrowser/catppuccin: type: git-repo url: "https://github.com/catppuccin/qutebrowser.git" diff --git a/dot_config/wezterm/wezterm.lua b/dot_config/wezterm/wezterm.lua index 8730d15..ece6898 100644 --- a/dot_config/wezterm/wezterm.lua +++ b/dot_config/wezterm/wezterm.lua @@ -1,13 +1,6 @@ -- vim:foldmethod=marker:foldlevel=1 local wezterm = require("wezterm") -local catppuccin = require("colors/catppuccin/catppuccin").setup({ - sync_flavours = { - light = "latte", - dark = "mocha", - }, -}) - -- fonts I like, with the settings I prefer {{{ -- kept seperately from the rest of the config so that I can easily change them local fonts = { @@ -38,51 +31,6 @@ local fonts = { } -- }}} --- make numbers superscript or subscript {{{ ----@diagnostic disable-next-line: unused-local,unused-function -local function style_number(number, style) - local superscript = { - "⁰", - "¹", - "²", - "³", - "⁴", - "⁵", - "⁶", - "⁷", - "⁸", - "⁹", - } - local subscript = { - "₀", - "₁", - "₂", - "₃", - "₄", - "₅", - "₆", - "₇", - "₈", - "₉", - } - - local numbers = (style == "super") and superscript or subscript - - local number_string = tostring(number) - local result = "" - for i = 1, #number_string do - local char = number_string:sub(i, i) - local nr = tonumber(char) - if number then - result = result .. numbers[nr + 1] - else - result = result .. char - end - end - return result -end --- }}} - -- custom tab bar {{{ ---@diagnostic disable-next-line: unused-local wezterm.on("format-tab-title", function(tab, tabs, panes, config, hover, max_width) @@ -149,9 +97,6 @@ local function get_os() return "linux" elseif string.find(target, "darwin") then return "macos" - else - -- who cares - return "OH GOD PLEASE NO" end end @@ -232,7 +177,7 @@ return { window_decorations = "RESIZE", window_padding = window_padding, -- theme - colors = catppuccin, + color_scheme = "Catppuccin Mocha", -- nightly only clean_exit_codes = { 130 }, }