From 5c9f5eb0415de574643cdb17b22918e8e0c9a434 Mon Sep 17 00:00:00 2001 From: winter <149337190+WinterEkisha@users.noreply.github.com> Date: Wed, 18 Nov 2026 16:44:20 -0800 Subject: [PATCH] feat: setting themes(wip) --- home/Winter/common/features/nvimConf.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/home/Winter/common/features/nvimConf.nix b/home/Winter/common/features/nvimConf.nix index f7855d9..30c38fb 100644 --- a/home/Winter/common/features/nvimConf.nix +++ b/home/Winter/common/features/nvimConf.nix @@ -33,9 +33,9 @@ relativenumber = true; }; - # Define the global helper function so you can run :lua set_wezterm_theme('solid') anytime + # Define the global helper function so you can run :lua setWezTheme('solid') anytime extraConfigLua = '' - _G.set_wezterm_theme = function(theme) + _G.setWezTheme = function(theme) local val = theme or "" local b64 = vim.base64.encode(val) local seq = string.format('\x1b]1337;SetUserVar=%s=%s\x07', 'WEZTERM_THEME', b64) @@ -76,7 +76,7 @@ callback = { __raw = '' function() - set_wezterm_theme('nvim') + setWezTheme('nvim') end ''; }; @@ -88,7 +88,7 @@ callback = { __raw = '' function() - set_wezterm_theme("") + setWezTheme("") end ''; };