]> icculus.org git repositories - dana/openbox.git/blob - data/rc3
update teh rc3 to reflect how the code works now
[dana/openbox.git] / data / rc3
1 [resistance]
2
3 # amount of resistance to provide at edges
4 #strength=10
5
6 # resistance against other windows
7 #windows=true
8
9 [placement]
10
11 # place windows where they were last
12 #remember = yes
13
14 [focus]
15
16 # focus new windows when they appear
17 #focusNew = yes
18
19 # does focus follow the mouse pointer
20 #followMouse = yes
21
22 [engine]
23
24 # the theme engine to use
25 #engine = "openbox"
26
27 # the theme to display with the theme engine
28 #theme = "operation"
29
30 # the order of the elements in windows' titlebars
31 # N - icon
32 # D - alldesktops button
33 # S - shade button
34 # L - text label
35 # I - iconify button
36 # M - maximize button
37 # C - close button
38 #titlebarLayout = "NDSLIMC"
39
40 # the font for the window titlebars
41 #font.title = "arial-8:bold"
42
43 # the drop shadow for the window titlebars
44 #font.title.shadow = no
45
46 # the offset of the drop shadow for the window titlebars
47 #font.title.shadow.offset = 1
48
49 # the amount of opacity of the drop shadow for the window titlebars
50 # -100 - 0 = white shadow (0 clear, -100 solid)
51 # 0 - 100  = black shadow (0 clear, 100 solid)
52 #font.title.shadow.tint = 25
53
54 [keyboard]
55
56 #kbind (Key [Key...])   Action  [Parameter]
57
58 kbind (F12)             execute "xterm"
59
60 kbind (A-Left)          PreviousDesktopWrap
61 kbind (A-Right)         NextDesktopWrap
62
63 kbind (A-1)             Desktop 1
64 kbind (A-2)             Desktop 2
65 kbind (A-3)             Desktop 3
66 kbind (A-4)             Desktop 4
67
68 kbind (C-A-1)           SendToDesktop 1
69 kbind (C-A-2)           SendToDesktop 2
70 kbind (C-A-3)           SendToDesktop 3
71 kbind (C-A-4)           SendToDesktop 4
72
73 kbind (C-S-x x)         ToggleMaximizeFull
74 kbind (C-S-x Up)        ToggleMaximizeVert
75 kbind (C-S-x Right)     ToggleMaximizeHorz
76
77 kbind (C-A-Left)        MoveRelativeHorz -3
78 kbind (C-A-Right)       MoveRelativeHorz  3
79 kbind (C-A-Up)          MoveRelativeVert -3
80 kbind (C-A-Down)        MoveRelativeVert  3
81
82 kbind (A-F4)            Close
83
84 kbind (W-D)             ToggleDecorations
85
86 [mouse]
87
88 # the distance a drag must go before it is recognized
89 #dragThreshold = 3
90
91 # the amount of time in milliseconds in which two clicks must occur to cause a
92 # doubleclick event
93 #doubleClickTime = 200
94
95 #mbind Context          Event           Button  Action [Parameter]
96
97 mbind   Titlebar        Drag            Left    Move
98 mbind   Handle          Drag            Left    Move
99 mbind   Frame           Drag            A-Left  Move
100
101 mbind   BLCorner        Drag            Left    Resize
102 mbind   BRCorner        Drag            Left    Resize
103 mbind   Frame           Drag            A-Right Resize
104
105 mbind   Titlebar        Click           Left    Raise
106 mbind   Titlebar        Press           Middle  Lower
107 mbind   Handle          Click           Left    Raise
108 mbind   Handle          Press           Middle  Lower
109 mbind   Frame           Click           A-Left  Raise
110 mbind   Frame           Click           A-Right Lower
111
112 mbind   Titlebar        Press           Left    Focus
113 mbind   Handle          Press           Left    Focus
114 mbind   BLCorner        Press           Left    Focus
115 mbind   BRCorner        Press           Left    Focus
116 mbind   Client          Press           Left    Focus
117 mbind   Client          Press           Middle  Focus
118
119 mbind   Titlebar        DoubleClick     Left    ToggleShade
120 mbind   Titlebar        Click           Up      Shade
121 mbind   Titlebar        Click           Down    UnShade
122
123 mbind   Maximize        Click           Left    ToggleMaximizeFull
124 mbind   Maximize        Click           Middle  ToggleMaximizeVert
125 mbind   Maximize        Click           Right   ToggleMaximizeHorz
126 mbind   Iconify         Click           Left    Iconify
127 mbind   Icon            DoubleClick     Left    Close
128 mbind   Close           Click           Left    Close
129 mbind   Close           Click           Middle  Kill
130 mbind   AllDesktops     Click           Left    ToggleOmnipresent
131 mbind   Shade           Click           Left    ToggleShade
132
133 mbind   Root            Click           Up      NextDesktopWrap
134 mbind   Root            Click           Down    PreviousDesktopWrap
135 mbind   Root            Click           A-Up    NextDesktopWrap
136 mbind   Root            Click           A-Down  PreviousDesktopWrap
137 mbind   Frame           Click           A-Up    NextDesktopWrap
138 mbind   Frame           Click           A-Down  PreviousDesktopWrap
139 mbind   Frame           Click           C-A-Up  SendToNextDesktopWrap
140 mbind   Frame           Click           C-A-Down SendToPreviousDesktopWrap
141
142 mbind   Root            Click           Left    execute "xterm"
143
144 [foo]
145
146 mbind Titlebar, Handle {
147         Left            press   Focus
148         Middle          press   Lower
149         Left            click   Raise
150         Right           click   Lower
151         Left            drag    Move
152 }
153
154 mbind Titlebar {
155         Up              press   Shade
156         Down            press   Unshade
157         Left            dclick  ToggleShade
158 }
159
160 mbind Frame {
161         A-Left          click   Raise
162         A-Left          drag    Move
163         A-Right         click   Lower
164         A-Right         drag    Resize
165         A-Up            click   NextDesktopWrap
166         A-Down          click   PreviousDesktopWrap
167         C-A-Up          click   SendToNextDesktopWrap
168         C-A-Down        click   SendToPreviousDesktopWrap
169 }
170
171 mbind BLCorner, BRCorner {
172         Left            press   Focus
173         Left            drag    Resize
174 }
175
176 mbind Client {
177         Left            press   Focus
178         Middle          press   Focus
179 }
180
181 mbind Root {
182         Left            click   execute "xterm"
183         Up              click   NextDesktopWrap
184         Down            click   PreviousDesktopWrap
185         A-Up            click   NextDesktopWrap
186         A-Down          click   PreviousDesktopWrap
187 }
188
189 mbind Maximize {
190         Left            click   ToggleMaximizeFull
191         Middle          click   ToggleMaximizeVert
192         Right           click   ToggleMaximizeHorz
193 }
194
195
196 mbind Iconify {
197         Left            click   Iconify
198 }
199
200 mbind Icon {
201         Left            dclick  Close
202 }
203
204 mbind Close {
205         Left            click   Close
206         Middle          click   Kill
207 }
208
209 mbind AllDesktops {
210         Left            click   ToggleOmnipresent
211 }
212
213 mbind Shade {
214         Left            click   ToggleShade
215 }
216