aboutsummaryrefslogtreecommitdiffstats
path: root/examples/test
blob: 55d398155c829a2c9a195826ae81007be347cd7e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
# -*- python -*-

# A simple xpybar configuration example that tests a few features

OUTPUT, HEIGHT, YPOS, TOP = 0, 24, 24, True

def redraw():
    bar.clear()
    bar.draw_coloured_text(0, 10, 0, 2, '┌┐ °°°² \033[31;47m|T|\033[49mE|\033[mS\033[38;2;128;16;255m|T|\033[0m ²°°°\n└┘ TEST ─│┌┐└┘├┤┬┴┼╱╲╳ ←↓→↑X')