aboutsummaryrefslogtreecommitdiffstats
path: root/examples/test
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-02-28 18:14:00 +0100
committerMattias Andrée <maandree@operamail.com>2014-02-28 18:14:00 +0100
commitcfc82d60ffdc9281b89dbf995dcd51631a72d3d2 (patch)
treefcf40723786d8280272fc48c533741d39b65d1ee /examples/test
parentm (diff)
downloadxpybar-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/test10
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 ─│┌┐└┘├┤┬┴┼╱╲╳')
+