more relaxed regex for new dmenu options
This commit is contained in:
parent
761ed3945f
commit
c9fff46a19
@ -17,7 +17,7 @@ LOCAL_CONFIG="$HOME/.config/i3/config"
|
|||||||
MODEL_CONFIG="$DOTWRYN/config/i3/config"
|
MODEL_CONFIG="$DOTWRYN/config/i3/config"
|
||||||
|
|
||||||
REGEX_FONT='^\(font [^0-9]*\)\(.*\)'
|
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 \)\(.*\)'
|
REGEX_BORDER='^\(for_window.*border pixel \)\(.*\)'
|
||||||
|
|
||||||
DEFAULT_GLOBAL_FONT_SIZE=$(sed -n "s/$REGEX_FONT/\\2/p" $MODEL_CONFIG)
|
DEFAULT_GLOBAL_FONT_SIZE=$(sed -n "s/$REGEX_FONT/\\2/p" $MODEL_CONFIG)
|
||||||
|
Loading…
Reference in New Issue
Block a user