aboutsummaryrefslogtreecommitdiffstats
path: root/examples/simple
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-02-28 16:48:25 +0100
committerMattias Andrée <maandree@operamail.com>2014-02-28 16:48:25 +0100
commit1d8c4445f6da46a8751029210579024e2b3ba768 (patch)
treec9ed076890ceb62cdb63358ac7d0d1392599329c /examples/simple
parentadd async and spawn (diff)
downloadxpybar-1d8c4445f6da46a8751029210579024e2b3ba768.tar.gz
xpybar-1d8c4445f6da46a8751029210579024e2b3ba768.tar.bz2
xpybar-1d8c4445f6da46a8751029210579024e2b3ba768.tar.xz
load configuration script
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'examples/simple')
-rw-r--r--examples/simple10
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/simple b/examples/simple
new file mode 100644
index 0000000..0291e2b
--- /dev/null
+++ b/examples/simple
@@ -0,0 +1,10 @@
+# -*- python -*-
+
+# A simple xpybar configuration example
+
+OUTPUT, YPOS, TOP = 0, 24, True
+
+def redraw():
+ bar.clear()
+ bar.draw_text(0, 10, '°°° TEST °°°')
+