aboutsummaryrefslogtreecommitdiffstats
path: root/src/__main__.py
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-04-24 17:48:11 +0200
committerMattias Andrée <maandree@operamail.com>2014-04-24 17:48:11 +0200
commite9cecdb853d7848fc80490e2125291ecd94cf561 (patch)
treedeaf88dbac356f4a24a72c5387cabfe5fcd8a333 /src/__main__.py
parenttypo (diff)
downloadxpybar-e9cecdb853d7848fc80490e2125291ecd94cf561.tar.gz
xpybar-e9cecdb853d7848fc80490e2125291ecd94cf561.tar.bz2
xpybar-e9cecdb853d7848fc80490e2125291ecd94cf561.tar.xz
add make install1.0
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/__main__.py')
-rwxr-xr-xsrc/__main__.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/__main__.py b/src/__main__.py
index 501a30b..126ca49 100755
--- a/src/__main__.py
+++ b/src/__main__.py
@@ -37,6 +37,11 @@ FONT = '-misc-fixed-*-*-*-*-10-*-*-*-*-*-*-*'
BACKGROUND, FOREGROUND = (0, 0, 0), (192, 192, 192)
+PLUGIN_PATH = None
+if PLUGIN_PATH is not None:
+ sys.path.insert(0, PLUGIN_PATH)
+
+
def redraw():
'''
Invoked when redraw is needed,