aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-03-01 13:38:28 +0100
committerMattias Andrée <maandree@operamail.com>2014-03-01 13:38:28 +0100
commit73823ab9eee5e13fedf426f1a72c137191c871ab (patch)
treef06c5d3f8a22cf31aaee2eb12ccac90d43686e66
parentadd todo list (diff)
downloadxpybar-73823ab9eee5e13fedf426f1a72c137191c871ab.tar.gz
xpybar-73823ab9eee5e13fedf426f1a72c137191c871ab.tar.bz2
xpybar-73823ab9eee5e13fedf426f1a72c137191c871ab.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--examples/plugin-test2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/plugin-test b/examples/plugin-test
index c68065e..0639c02 100644
--- a/examples/plugin-test
+++ b/examples/plugin-test
@@ -103,7 +103,7 @@ def redraw():
if use > 99: colour, colour_ = '31', '31'
discs.append((mp, use, colour, colour_))
discs.sort(key = lambda d : d[0])
- discs = ['\033[%sm%s:\033[%sm%.1f\033[0m%%' % (d[3], d[0], d[2], d[1]) for d in discs]
+ discs = ['\033[%sm%s:\033[%sm%.1f\033[%sm%%\033[0m' % (d[3], d[0], d[2], d[1], d[3]) for d in discs]
discs = 'df: %s' % ' '.join(discs)
text = '%s │ %s │ %s │ %s │ %s │ %s\n%s'