aboutsummaryrefslogblamecommitdiffstats
path: root/examples/test
blob: 44b23666347968b5fda5f4162128749619322d97 (plain) (tree)
1
2
3
4
5
6
7
8
9

                
                                                                 
 
                                           


               
                                                                                                                                                                                         
 
# -*- 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 ²°°°\nTEST ─│┌┐└┘├┤┬┴┼╱╲╳ ←↓→↑')