aboutsummaryrefslogtreecommitdiffstats
path: root/examples/test
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-03-24 19:20:53 +0100
committerMattias Andrée <m@maandree.se>2026-03-24 19:20:53 +0100
commitfe0ef9cd334d0ad975ed304983597834c87bb43a (patch)
treee86c044035c422f01e116d185386c9ebb3c3db07 /examples/test
parentm fixes (diff)
downloadxpybar-fe0ef9cd334d0ad975ed304983597834c87bb43a.tar.gz
xpybar-fe0ef9cd334d0ad975ed304983597834c87bb43a.tar.bz2
xpybar-fe0ef9cd334d0ad975ed304983597834c87bb43a.tar.xz
Fix dock-to-bottom and enable docking to the left or rightHEAD1.21master
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
-rw-r--r--examples/test4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/test b/examples/test
index 3e4d8b3..d89fe06 100644
--- a/examples/test
+++ b/examples/test
@@ -1,7 +1,7 @@
# -*- python -*-
'''
xpybar – xmobar replacement written in python
-Copyright © 2014, 2015, 2016, 2017, 2018, 2019 Mattias Andrée (m@maandreese)
+Copyright © 2014, 2015, 2016, 2017, 2018, 2019 Mattias Andrée (m@maandree.se)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -20,6 +20,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
# A simple xpybar configuration example that tests a few features
OUTPUT, HEIGHT, YPOS, TOP = 0, 24, 24, True
+WIDTH, XPOS, LEFT, SIDEBAR = 0, 0, True, False
+BACKGROUND, FOREGROUND = (32, 32, 32), (192, 192, 192)
def redraw():
bar.clear()