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