View Single Post
niqbal's Avatar
Posts: 474 | Thanked: 368 times | Joined on Jan 2010
#146
Originally Posted by KiberGus View Post
Widget itself can execute only one command. But you can write bash script and configure widget to launch the script.

Widget shows part of the string, which matches the expression. This is how expressions are written:
http://docs.python.org/library/re.html
So it could be something like
balance: [\d\.\,]*
took me a few hours but it was worth writing a regexp to extract just the balance.