From: Stephen Seo Date: Tue, 23 Aug 2022 08:11:01 +0000 (+0900) Subject: Update README.md X-Git-Tag: 0.1.5~6 X-Git-Url: https://git.seodisparate.com/stephenseo/static/git-favicon.png?a=commitdiff_plain;h=5032b24fc99e9788a2e74e24ef469af5a4446f7e;p=swaybar_info Update README.md --- diff --git a/README.md b/README.md index dc91e1b..f946bc0 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,8 @@ That sometimes becomes: Then this text can be parsed with a regex like: status_command $HOME/.config/sway/swaybar_info \ - '--regex-cmd=$HOME/scripts/mpc/mpcCommand.sh[SPLIT]simple[SPLIT]^\(.\*?\)\(?:COLORSPLIT\)?\([A-F0-9]{6}\)?$' + '--regex-cmd=$HOME/scripts/mpc/mpcCommand.sh[SPLIT]simple[SPLIT]^\(.\*?\)\(?:\(?:COLORSPLIT\)\([A-F0-9]{6}\)\)?$' + Note that some characters like `*` or `(` had to be escaped because they are being passed verbatim to a shell.