]> icculus.org git repositories - dana/openbox.git/blob - plugins/keyboard/keysrc
no drag events for keysrc..
[dana/openbox.git] / plugins / keyboard / keysrc
1 # Keysrc - Keybindings configuration for Openbox
2
3 # Key [Key...] Action [Argument]
4
5 # Key: A list of keys to form a key chain, or just a single key. Each key in
6 # the chain is separated by a space.
7 #
8 # Each Key is a string composed of [<modifier>-]<key>. A Key can have 0 or more
9 # modifiers. Valid modifiers are Control ('C' is an alias for this), Shift
10 # ('S' is an alias for this), Mod1 ('A' is an alias for this), Mod2, Mod3,
11 # Mod4 ('W' is an alias for this), and Mod5. Valid buttons are defined by the
12 # X server. The 'xev' utility can be used to look up the name of a key.
13 #
14 # When there is more than one Key in a binding, they form a chain, where you
15 # must press the first Key, then the second, etc, to fire the binding.
16 #
17 # The 'C-g' key combination can be used to abort a key chain in progress.
18
19 # Action: The action to be performed when the key binding is pressed.
20 #
21 #  * Unfocus - Unfocus the focused client
22 #  * Iconify - Iconify the focused client
23 #  * Raise - Raise the focused client to the front
24 #  * Lower - Lower the focused client to the back
25 #  * Close - Close the focused client
26 #  * Kill - Kill the focused client forcefully
27 #  * Shade - Shade (roll up) the focused client
28 #  * Unshade - Unshade (roll down) the focused client
29 #  * ToggleShade - Shade and unshade the focused client
30 #  * ShadeLower - Shades the window if it's not shaded, and lower it
31 #                 if it was already shaded
32 #  * UnshadeRaise - Unshades the window if it's shaded, and raise it
33 #                   if it was already unshaded
34 #  * ToggleOmnipresent - Place the focused client on all desktops or the
35 #                        current one
36 #  * MaximizeFull - Maximize the focused window horizontally and vertically
37 #  * UnmaximizeFull - Restore the focused window horizontally and vertically
38 #  * ToggleMaximizeFull - Maximize or restore the focused window horizontally
39 #                         and vertically
40 #  * MaximizeHorz - Maximize the focused window horizontally
41 #  * UnmaximizeHorz - Restore the focused window horizontally
42 #  * ToggleMaximizeHorz - Maximize or restore the focused window horizontally
43 #  * MaximizeVert - Maximize the focused window vertically
44 #  * UnmaximizeVert - Restore the focused window vertically
45 #  * ToggleMaximizeVert - Maximize or restore the focused window vertically
46 #  * SendToDesktop - Sends the focused window to a specified desktop
47 #      * Takes a number argument which specifies the desktop to send the window
48 #        to (starting at 1).
49 #  * SendToNextDesktop - Sends the focused window to the next desktop
50 #  * SendToNextDesktopWrap - Sends the focused window to the next desktop
51 #                            (wrapping around the first and last desktops)
52 #  * SendToPreviousDesktop - Sends the focused window to the previous desktop
53 #  * SendToPreviousDesktopWrap - Sends the focused window to the previous
54 #                                desktop (wrapping around the first and last
55 #                                desktops)
56 #  * Desktop - Switches to the specified desktop
57 #      * Takes a number argument which specifies the desktop to switch to
58 #        (starting at 1).
59 #  * NextDesktop - Switches to the next desktop
60 #  * NextDesktopWrap - Switches to the next desktop (wrapping around the first
61 #                      and last desktops)
62 #  * PreviousDesktop - Switches to the previous desktop
63 #  * PreviousDesktopWrap - Switches to the previous desktop (wrapping around
64 #                          the first and last desktops)
65 #  * NextDesktopColumn - Switches to the desktop in the next column, based on
66 #                        the desktop layout set by a pager
67 #  * NextDesktopColumnWrap - Switches to the desktop in the next column, based
68 #                            on the desktop layout set by a pager (wrapping
69 #                            around the first and last columns)
70 #  * PreviousDesktopColumn - Switches to the desktop in the previous column,
71 #                            based on the desktop layout set by a pager
72 #  * PreviousDesktopColumnWrap - Switches to the desktop in the previous
73 #                                column, based on the desktop layout set by a
74 #                                pager (wrapping around the first and last
75 #                                columns)
76 #  * NextDesktopRow - Switches to the desktop in the next row, based on the
77 #                     desktop layout set by a pager
78 #  * NextDesktopRowWrap - Switches to the desktop in the next row, based on the
79 #                         desktop layout set by a pager (wrapping around the
80 #                         first and last rows)
81 #  * PreviousDesktopRow - Switches to the desktop in the previous row, based on
82 #                         the desktop layout set by a pager
83 #  * PreviousDesktopRowWrap - Switches to the desktop in the previous row,
84 #                             based on the desktop layout set by a pager
85 #                             (wrapping around the first and last rows)
86 #  * ToggleDecorations - Toggles all decorations around a window on and off
87 #  * MoveRelativeHorz - Moves the focused client horizontally
88 #      * Takes a number argument which specifies the amount to move the window.
89 #        A positive number moves to the right, negative to the left.
90 #  * MoveRelativeVert - Moves the focused client vertcally
91 #      * Takes a number argument which specifies the amount to move the window.
92 #        A positive number moves down, negative up.
93 #  * ResizeRelativeHorz - Resizes the focused client horizontally
94 #      * Takes a number argument which specifies the amount to resize the
95 #        window. A positive number grows it, a negative number shrinks it.
96 #  * ResizeRelativeVert - Resizes the focused client vertically
97 #      * Takes a number argument which specifies the amount to resize the
98 #        window. A positive number grows it, a negative number shrinks it.
99 #  * Execute - Executes a command
100 #      * Takes a string argument "in quotes" that is the command to execute.
101 #  * Restart - Restarts Openbox
102 #      * Optionally takes a string argument "in quotes" that is the command to
103 #        execute in place of restarting Openbox.
104 #  * Exit - Exits Openbox
105
106
107
108 A-space         execute "xterm"
109 C-A-Escape      execute "xlock -nolock -mode puzzle"
110
111 A-Left          PreviousDesktopWrap
112 A-Right         NextDesktopWrap
113
114 A-1             Desktop 1
115 A-2             Desktop 2
116 A-3             Desktop 3
117 A-4             Desktop 4