all repos — openbox @ c8ff993e08e73f030a2efdb4f01c5f65464555e7

openbox fork - make it a bit more like ryudo

plugins/keyboard/keysrc (raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
# Keysrc - Keybindings configuration for Openbox

# Key [Key...] Action [Argument]

# Key: A list of keys to form a key chain, or just a single key. Each key in
# the chain is separated by a space.
#
# Each Key is a string composed of [<modifier>-]<key>. A Key can have 0 or more
# modifiers. Valid modifiers are Control ('C' is an alias for this), Shift
# ('S' is an alias for this), Mod1 ('A' is an alias for this), Mod2, Mod3,
# Mod4 ('W' is an alias for this), and Mod5. Valid buttons are defined by the
# X server. The 'xev' utility can be used to look up the name of a key.
#
# When there is more than one Key in a binding, they form a chain, where you
# must press the first Key, then the second, etc, to fire the binding.
#
# The 'C-g' key combination can be used to abort a key chain in progress.

# Action: The action to be performed when the key binding is pressed.
#
#  * Unfocus - Unfocus the focused client
#  * Iconify - Iconify the focused client
#  * Raise - Raise the focused client to the front
#  * Lower - Lower the focused client to the back
#  * Close - Close the focused client
#  * Kill - Kill the focused client forcefully
#  * Shade - Shade (roll up) the focused client
#  * Unshade - Unshade (roll down) the focused client
#  * ToggleShade - Shade and unshade the focused client
#  * ShadeLower - Shades the window if it's not shaded, and lower it
#                 if it was already shaded
#  * UnshadeRaise - Unshades the window if it's shaded, and raise it
#                   if it was already unshaded
#  * ToggleOmnipresent - Place the focused client on all desktops or the
#                        current one
#  * MaximizeFull - Maximize the focused window horizontally and vertically
#  * UnmaximizeFull - Restore the focused window horizontally and vertically
#  * ToggleMaximizeFull - Maximize or restore the focused window horizontally
#                         and vertically
#  * MaximizeHorz - Maximize the focused window horizontally
#  * UnmaximizeHorz - Restore the focused window horizontally
#  * ToggleMaximizeHorz - Maximize or restore the focused window horizontally
#  * MaximizeVert - Maximize the focused window vertically
#  * UnmaximizeVert - Restore the focused window vertically
#  * ToggleMaximizeVert - Maximize or restore the focused window vertically
#  * SendToDesktop - Sends the focused window to a specified desktop
#      * Takes a number argument which specifies the desktop to send the window
#        to (starting at 1).
#  * SendToNextDesktop - Sends the focused window to the next desktop
#  * SendToNextDesktopWrap - Sends the focused window to the next desktop
#                            (wrapping around the first and last desktops)
#  * SendToPreviousDesktop - Sends the focused window to the previous desktop
#  * SendToPreviousDesktopWrap - Sends the focused window to the previous
#                                desktop (wrapping around the first and last
#                                desktops)
#  * Desktop - Switches to the specified desktop
#      * Takes a number argument which specifies the desktop to switch to
#	 (starting at 1).
#  * NextDesktop - Switches to the next desktop
#  * NextDesktopWrap - Switches to the next desktop (wrapping around the first
#		       and last desktops)
#  * PreviousDesktop - Switches to the previous desktop
#  * PreviousDesktopWrap - Switches to the previous desktop (wrapping around
#			   the first and last desktops)
#  * NextDesktopColumn - Switches to the desktop in the next column, based on
#                        the desktop layout set by a pager
#  * NextDesktopColumnWrap - Switches to the desktop in the next column, based
#                            on the desktop layout set by a pager (wrapping
#                            around the first and last columns)
#  * PreviousDesktopColumn - Switches to the desktop in the previous column,
#                            based on the desktop layout set by a pager
#  * PreviousDesktopColumnWrap - Switches to the desktop in the previous
#                                column, based on the desktop layout set by a
#                                pager (wrapping around the first and last
#                                columns)
#  * NextDesktopRow - Switches to the desktop in the next row, based on the
#                     desktop layout set by a pager
#  * NextDesktopRowWrap - Switches to the desktop in the next row, based on the
#                         desktop layout set by a pager (wrapping around the
#                         first and last rows)
#  * PreviousDesktopRow - Switches to the desktop in the previous row, based on
#                         the desktop layout set by a pager
#  * PreviousDesktopRowWrap - Switches to the desktop in the previous row,
#                             based on the desktop layout set by a pager
#                             (wrapping around the first and last rows)
#  * ToggleDecorations - Toggles all decorations around a window on and off
#  * MoveRelativeHorz - Moves the focused client horizontally
#      * Takes a number argument which specifies the amount to move the window.
#	 A positive number moves to the right, negative to the left.
#  * MoveRelativeVert - Moves the focused client vertcally
#      * Takes a number argument which specifies the amount to move the window.
#	 A positive number moves down, negative up.
#  * ResizeRelativeHorz - Resizes the focused client horizontally
#      * Takes a number argument which specifies the amount to resize the
#        window. A positive number grows it, a negative number shrinks it.
#  * ResizeRelativeVert - Resizes the focused client vertically
#      * Takes a number argument which specifies the amount to resize the
#        window. A positive number grows it, a negative number shrinks it.
#  * Execute - Executes a command
#      * Takes a string argument "in quotes" that is the command to execute.
#  * Restart - Restarts Openbox
#      * Optionally takes a string argument "in quotes" that is the command to
# 	 execute in place of restarting Openbox.
#  * Exit - Exits Openbox



A-space		execute "xterm"
C-A-Escape	execute "xlock -nolock -mode puzzle"

A-Left		PreviousDesktopWrap
A-Right		NextDesktopWrap

A-1		Desktop 1
A-2		Desktop 2
A-3		Desktop 3
A-4		Desktop 4