diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-02-28 18:14:00 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-02-28 18:14:00 +0100 |
commit | cfc82d60ffdc9281b89dbf995dcd51631a72d3d2 (patch) | |
tree | fcf40723786d8280272fc48c533741d39b65d1ee /examples/test | |
parent | m (diff) | |
download | xpybar-cfc82d60ffdc9281b89dbf995dcd51631a72d3d2.tar.gz xpybar-cfc82d60ffdc9281b89dbf995dcd51631a72d3d2.tar.bz2 xpybar-cfc82d60ffdc9281b89dbf995dcd51631a72d3d2.tar.xz |
simple -> test
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'examples/test')
-rw-r--r-- | examples/test | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/test b/examples/test new file mode 100644 index 0000000..6784f00 --- /dev/null +++ b/examples/test @@ -0,0 +1,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 ²°°°\nTEST ─│┌┐└┘├┤┬┴┼╱╲╳') + |