From c9fff46a19255024469595928e4dcc1f49a5eb4a Mon Sep 17 00:00:00 2001 From: Wryn Wagner Date: Mon, 4 Oct 2021 18:00:09 -0600 Subject: [PATCH] more relaxed regex for new dmenu options --- bin/i3/update-local-config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/i3/update-local-config b/bin/i3/update-local-config index 0d9af48..84fe75b 100755 --- a/bin/i3/update-local-config +++ b/bin/i3/update-local-config @@ -17,7 +17,7 @@ LOCAL_CONFIG="$HOME/.config/i3/config" MODEL_CONFIG="$DOTWRYN/config/i3/config" REGEX_FONT='^\(font [^0-9]*\)\(.*\)' -REGEX_DMENU="^\\(.*dmenu_run -fn '[^0-9]*\\)\\([0-9]*\\)'" +REGEX_DMENU="^\\(.*dmenu_run .*-fn '[^0-9]*\\)\\([0-9]*\\)'" REGEX_BORDER='^\(for_window.*border pixel \)\(.*\)' DEFAULT_GLOBAL_FONT_SIZE=$(sed -n "s/$REGEX_FONT/\\2/p" $MODEL_CONFIG)