fix(xdg): +updated wezterm themes
This commit is contained in:
1 parent
b3448a728f
commit
0b35987265
3 files changed
+14
-18
No files matched your search
@@ -156,9 +156,9 @@
|
||||
|
||||
};
|
||||
|
||||
# Define the global helper function so you can run :lua setWezTheme('solid') anytime
|
||||
# Define the global helper function so you can run :lua swtt('solid') anytime
|
||||
extraConfigLua = ''
|
||||
_G.setWezTheme = function(theme)
|
||||
_G.swtt = 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)
|
||||
@@ -200,7 +200,7 @@
|
||||
callback = {
|
||||
__raw = ''
|
||||
function()
|
||||
setWezTheme('nvim')
|
||||
swtt('nvim')
|
||||
end
|
||||
'';
|
||||
};
|
||||
@@ -213,7 +213,7 @@
|
||||
callback = {
|
||||
__raw = ''
|
||||
function()
|
||||
setWezTheme("")
|
||||
swtt("")
|
||||
end
|
||||
'';
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user