wezterm: overrides cosmetics
This commit is contained in:
parent
39326c9414
commit
3526533cd3
1 changed files with 2 additions and 3 deletions
|
@ -1,5 +1,4 @@
|
||||||
local wt = require('wezterm')
|
local wt = require('wezterm')
|
||||||
local fn = require('functions')
|
|
||||||
|
|
||||||
local current = {}
|
local current = {}
|
||||||
|
|
||||||
|
@ -45,8 +44,8 @@ local overrides = {
|
||||||
theme = theme
|
theme = theme
|
||||||
}
|
}
|
||||||
|
|
||||||
local function toggle_overrides(window, overrides)
|
local function toggle_overrides(window, conf)
|
||||||
for k, v in pairs(overrides) do
|
for k, v in pairs(conf) do
|
||||||
if current[k] == v then
|
if current[k] == v then
|
||||||
current[k] = nil
|
current[k] = nil
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue