You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In wezterm, i can write a lua function implement it
wezterm.on("toggle-opacity", function(window, _)
local overrides = window:get_config_overrides() or {}
if not overrides.window_background_opacity then
overrides.window_background_opacity = 0.8
overrides.text_background_opacity = 0.8
else
overrides.window_background_opacity = nil
overrides.text_background_opacity = nil
end
window:set_config_overrides(overrides)
end)
Although I have found a way to implement custom scripts with kitten, but I am not familiar with the APIs inside and don't know where to start.
Can you give some hints?
The text was updated successfully, but these errors were encountered:
I find some options to change background opacity, but it need two different hotkey to implement toggle
In wezterm, i can write a lua function implement it
Although I have found a way to implement custom scripts with kitten, but I am not familiar with the APIs inside and don't know where to start.
Can you give some hints?
The text was updated successfully, but these errors were encountered: