openbox/scripts/globals.py
2002-12-31 19:15:24 +00:00

14 lines
515 B
Python

#############################################################################
### 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"