From 05690a645ac7761c21d10ddb61b403ff9536173c Mon Sep 17 00:00:00 2001 From: BZ Date: Sun, 24 Sep 2023 21:31:41 +0200 Subject: [PATCH] fix regexpr parameters --- init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 9acbe6d..6b54247 100644 --- a/init.lua +++ b/init.lua @@ -115,8 +115,8 @@ local function new(args) local dont_restore_mods = cfg.dont_restore_mods local debug = cfg.debug - local regexpr_dynamic_vim = "%- N?VIM$" - local regexpr_dynamic_tmux = "%- TMUX$" + local regexpr_dynamic_vim = cfg.regexpr_dynamic_vim or "%- N?VIM$" + local regexpr_dynamic_tmux = cfg.regexpr_dynamic_tmux or "%- TMUX$" local mods = mod_keysym and { mod_keysym } or generate_conversion_map()