]> icculus.org git repositories - mikachu/openbox.git/blob - scripts/globals.py
create some globals for use in the python scripts
[mikachu/openbox.git] / scripts / globals.py
1 # openbox - pointer to the current Openbox instance
2 openbox = Openbox_instance()
3
4 # screen - list of all screens in the current openbox instance
5 screen = []
6 for i in range(Openbox_screenCount(openbox)):
7     screen.append(Openbox_screen(openbox, i))
8
9 print "Loaded globals.py"