diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-12-31 07:19:32 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-12-31 07:19:32 +0000 |
| commit | 103372b02f783053c69f8f94db2c0e161f3e7d93 (patch) | |
| tree | 363d36fc94dbb03c13634d61a182048c08d2e1fb /scripts/globals.py | |
| parent | a6661d587cd043e1894418c091b8dbd4e18a7d55 (diff) | |
create some globals for use in the python scripts
Diffstat (limited to 'scripts/globals.py')
| -rw-r--r-- | scripts/globals.py | 9 |
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" |
