fix(wezterm): fix sync

This commit is contained in:
winston 2022-11-14 15:39:34 +01:00
parent 831df5ff6e
commit 6e5fad9671
Signed by: winston
GPG key ID: 3786770EDBC2B481

View file

@ -205,7 +205,7 @@ local function scheme_for_appearance(appearance)
if f ~= nil and f:lines() ~= nil then
local theme = appearance:find("Dark") and "dark" or "light"
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