]> Dogcows Code - chaz/openbox/blob - scripts/globals.py
add comments/headers
[chaz/openbox] / scripts / globals.py
1 #############################################################################
2 ### Options that can be defined on startup that affect the behavior of ###
3 ### openbox. ###
4 #############################################################################
5
6 # client_buttons - a list of the modifier(s) and buttons which are grabbed on
7 # client windows (for interactive move/resize, etc)
8 # examples: "A-2", "C-A-2", "W-1"
9 client_buttons = ["A-1", "A-2", "A-3"]
10
11
12
13 #############################################################################
14 ### Options that can be modified by the user to change the default hooks' ###
15 ### behaviors. ###
16 #############################################################################
17
18 # click_focus - true if clicking in a client will cause it to focus in the
19 # default hook functions
20 click_focus = 0
21 # enter_focus - true if entering a client window will cause it to focus in the
22 # default hook functions
23 enter_focus = 1
24 # leave_unfocus - true if leaving a client window will cause it to unfocus in
25 # the default hook functions
26 leave_unfocus = 1
27
28
29
30 #############################################################################
31 ### Variables defined for other scripts to use. ###
32 #############################################################################
33
34 # openbox - pointer to the current Openbox instance
35 openbox = Openbox_instance()
36
37 # screen - list of all screens in the current openbox instance
38 screen = []
39 for i in range(Openbox_screenCount(openbox)):
40 screen.append(Openbox_screen(openbox, i))
41
42
43
44 print "Loaded globals.py"
This page took 0.038536 seconds and 5 git commands to generate.