]> icculus.org git repositories - mikachu/openbox.git/blob - scripts/globals.py
add some globals to modify the default scripting behavior
[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 # client_buttons - a list of the modifier(s) and buttons which are grabbed on
10 #                  client windows (for interactive move/resize, etc)
11 #  examples: "A-2", "C-A-2", "W-1"
12 client_buttons = ["A-1", "A-2", "A-3"]
13
14 # click_focus - true if clicking in a client will cause it to focus in the
15 #               default hook functions
16 click_focus = 0
17 # enter_focus - true if entering a client window will cause it to focus in the
18 #               default hook functions
19 enter_focus = 1
20 # leave_unfocus - true if leaving a client window will cause it to unfocus in
21 #                 the default hook functions
22 leave_unfocus = 1
23
24 print "Loaded globals.py"