aboutsummaryrefslogtreecommitdiffstats
path: root/examples/test
diff options
context:
space:
mode:
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 ─│┌┐└┘├┤┬┴┼╱╲╳')
+