]> Dogcows Code - chaz/openbox/blob - scripts/globals.py
0a3389ecb9fe8d3c91c77a7795029f45d3b3ea92
[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 # click_raise - true if clicking in a client will cause it to raise to the
22 # top of its stacking layer
23 click_raise = 0
24 # enter_focus - true if entering a client window will cause it to focus in the
25 # default hook functions
26 enter_focus = 1
27 # leave_unfocus - true if leaving a client window will cause it to unfocus in
28 # the default hook functions
29 leave_unfocus = 1
30
31
32
33 #############################################################################
34 ### Variables defined for other scripts to use. ###
35 #############################################################################
36
37 # openbox - pointer to the current Openbox instance
38 openbox = Openbox_instance()
39
40 # screen - list of all screens in the current openbox instance
41 screen = []
42 for i in range(Openbox_screenCount(openbox)):
43 screen.append(Openbox_screen(openbox, i))
44
45
46
47 print "Loaded globals.py"
This page took 0.033791 seconds and 4 git commands to generate.