summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-02-14 18:59:03 +0100
committerMattias Andrée <maandree@operamail.com>2014-02-14 18:59:03 +0100
commitb28636219466468f64b3e677124316f96ce96bc9 (patch)
tree74e02f2a9e9148824c4cbc8bd8f9ad52d177e915
parentm (diff)
downloadblueshift-b28636219466468f64b3e677124316f96ce96bc9.tar.gz
blueshift-b28636219466468f64b3e677124316f96ce96bc9.tar.bz2
blueshift-b28636219466468f64b3e677124316f96ce96bc9.tar.xz
doc
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rwxr-xr-xsrc/__main__.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/__main__.py b/src/__main__.py
index 6a01a87..e0266c8 100755
--- a/src/__main__.py
+++ b/src/__main__.py
@@ -34,8 +34,11 @@ manipulate(lambda r : r, lambda g : g, lambda b : b)
clip()
+
+## Set globals accessible by rc
global DATADIR, i_size, o_size, r_curve, g_curve, b_curve, clip_result
+
## Load extension and configurations via ponysayrc
for file in ('$XDG_CONFIG_HOME/%/%rc', '$HOME/.config/%/%rc', '$HOME/.%rc', '/etc/%rc'):
file = file.replace('%', 'blueshift')