fix(wezterm): fix sync
This commit is contained in:
parent
831df5ff6e
commit
6e5fad9671
1 changed files with 1 additions and 1 deletions
|
@ -205,7 +205,7 @@ local function scheme_for_appearance(appearance)
|
||||||
if f ~= nil and f:lines() ~= nil then
|
if f ~= nil and f:lines() ~= nil then
|
||||||
local theme = appearance:find("Dark") and "dark" or "light"
|
local theme = appearance:find("Dark") and "dark" or "light"
|
||||||
for name in f:lines() do
|
for name in f:lines() do
|
||||||
io.popen("nvr --servername " .. name .. ' --remote-send ":set background=' .. theme .. '<CR>"')
|
io.popen("nvr --servername " .. name .. ' -c "set background=' .. theme .. '"')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue