diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-03-03 12:37:22 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-03-03 12:37:22 +0100 |
commit | f8e45760a64dfa3f9774f6bc83e8aaba338e15c2 (patch) | |
tree | 08c05afd80835d39ed00dcf59d9e88532add8365 | |
parent | update todo (diff) | |
download | xpybar-f8e45760a64dfa3f9774f6bc83e8aaba338e15c2.tar.gz xpybar-f8e45760a64dfa3f9774f6bc83e8aaba338e15c2.tar.bz2 xpybar-f8e45760a64dfa3f9774f6bc83e8aaba338e15c2.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r-- | examples/plugin-test | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/plugin-test b/examples/plugin-test index cecf26f..d167eb3 100644 --- a/examples/plugin-test +++ b/examples/plugin-test @@ -22,8 +22,6 @@ OUTPUT, HEIGHT, YPOS, TOP = 0, 24, 24, True def redraw(): - bar.clear() - date = spawn_read('date', '+%Y-(%m)%b-%d %T, %a w%V, %Z') uptime_ = Uptime() @@ -180,5 +178,6 @@ def redraw(): text = '%s │ %s │ %s │ %s │ %s │ %s %s │ %s │ %s │ %s │ %s\n%s │ %s │ %s' text %= (date, uptime, idle, loadavg, users, uname, xdisplay, mem, swp, shm, moc, discs, discstats, cpu) + bar.clear() bar.draw_coloured_text(0, 10, 0, 2, text) |