aboutsummaryrefslogtreecommitdiffstats
path: root/examples/plugins
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-07-02 09:59:05 +0200
committerMattias Andrée <maandree@operamail.com>2014-07-02 09:59:05 +0200
commit2fccd3c8bcf1eea10c85398b2a1d56e11b4413ab (patch)
tree63913f9381b9e99857c7a57bf5c83162e4c3cce4 /examples/plugins
parentupdate dist (diff)
downloadxpybar-2fccd3c8bcf1eea10c85398b2a1d56e11b4413ab.tar.gz
xpybar-2fccd3c8bcf1eea10c85398b2a1d56e11b4413ab.tar.bz2
xpybar-2fccd3c8bcf1eea10c85398b2a1d56e11b4413ab.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'examples/plugins')
-rw-r--r--examples/plugins/alsa2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/plugins/alsa b/examples/plugins/alsa
index f11183b..dbdfe75 100644
--- a/examples/plugins/alsa
+++ b/examples/plugins/alsa
@@ -21,7 +21,7 @@ def start():
start_()
async(lambda : clock.continuous_sync(lambda : bar.invalidate()))
-text_v = lambda v : '---' if v is None else ('%2i%%' % v)[:3]
+text_v = lambda v : '--%' if v is None else ('%2i%%' % v)[:3]
read_m = lambda m : '%s: %s' % (m.mixername, ' '.join(text_v(v) for v in m.get_volume()))
read_c = lambda c : '%s │ %s' % (c[0].cardname, ' │ '.join(read_m(m) for m in c))