]> icculus.org git repositories - mikachu/openbox.git/blob - scripts/globals.py
load config options from the python environment
[mikachu/openbox.git] / scripts / globals.py
1 #############################################################################
2 ### Variables defined for other scripts to use.                           ###
3 #############################################################################
4
5 # openbox - pointer to the current Openbox instance
6 openbox = Openbox_instance()
7
8 # screens - list of all screens in the current openbox instance
9 screens = []
10 for i in range(Openbox_screenCount(openbox)):
11     screens.append(Openbox_screen(openbox, i))
12
13
14 print "Loaded globals.py"