summaryrefslogtreecommitdiff
path: root/scripts/globals.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/globals.py')
-rw-r--r--scripts/globals.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/globals.py b/scripts/globals.py
new file mode 100644
index 00000000..98f71c34
--- /dev/null
+++ b/scripts/globals.py
@@ -0,0 +1,9 @@
+# openbox - pointer to the current Openbox instance
+openbox = Openbox_instance()
+
+# screen - list of all screens in the current openbox instance
+screen = []
+for i in range(Openbox_screenCount(openbox)):
+ screen.append(Openbox_screen(openbox, i))
+
+print "Loaded globals.py"