summaryrefslogtreecommitdiffstats
path: root/src/__main__.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/__main__.py')
-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')