scripts/globals.py (raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
############################################################################# ### Variables defined for other scripts to use. ### ############################################################################# # openbox - pointer to the current Openbox instance openbox = Openbox_instance() # screens - list of all screens in the current openbox instance screens = [] for i in range(Openbox_screenCount(openbox)): screens.append(Openbox_screen(openbox, i)) print "Loaded globals.py" |