From f8e45760a64dfa3f9774f6bc83e8aaba338e15c2 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 3 Mar 2014 12:37:22 +0100 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- examples/plugin-test | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'examples') 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) -- cgit v1.2.3-70-g09d2