From 3526533cd359457a0141af10d4d32294242610a9 Mon Sep 17 00:00:00 2001 From: Von Random Date: Mon, 18 Nov 2024 11:36:32 +0200 Subject: [PATCH] wezterm: overrides cosmetics --- gui/.config/wezterm/overrides.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gui/.config/wezterm/overrides.lua b/gui/.config/wezterm/overrides.lua index d53d22a..0eea8ff 100644 --- a/gui/.config/wezterm/overrides.lua +++ b/gui/.config/wezterm/overrides.lua @@ -1,5 +1,4 @@ local wt = require('wezterm') -local fn = require('functions') local current = {} @@ -45,8 +44,8 @@ local overrides = { theme = theme } -local function toggle_overrides(window, overrides) - for k, v in pairs(overrides) do +local function toggle_overrides(window, conf) + for k, v in pairs(conf) do if current[k] == v then current[k] = nil else