diff options
author | Martin Perner <martin@perner.cc> | 2011-08-27 13:29:50 +0200 |
---|---|---|
committer | Martin Perner <martin@perner.cc> | 2011-08-27 13:41:45 +0200 |
commit | 9f3d337e753826da3f48cc45b664f4a919a67058 (patch) | |
tree | 964c3768609be66ce6dae43e72409d7c19c8e15d /samples/xmobar.config | |
parent | d17958115fbb80d5baf58830f33390cd21acedac (diff) | |
download | xmobar-9f3d337e753826da3f48cc45b664f4a919a67058.tar.gz xmobar-9f3d337e753826da3f48cc45b664f4a919a67058.tar.bz2 |
Fix the detection of the end of the command array
It was only looked for a ']' followed by space-characters and either a
'}' or ','.
This looks good in generally but considering that a command can have as
its last input parameter an array e.g.
...
, Run Something ["Do"]
, Run XMonadLog
]
, sepChar = "%"
}
...
This will not work unless 'Something' is the last command in the array.
This patch fixes this problem, as a ',' is only accepted if it is not
followed by a "Run".
Diffstat (limited to 'samples/xmobar.config')
0 files changed, 0 insertions, 0 deletions