blob: f3168b13360f6a3438479a0e80805bf5795a104a (
plain)
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
|
#
# Window Management
#
# Alt(+Shift)+Tab
Mod1 Tab :NextWindow {groups} (workspace=[current])
Mod1 Shift Tab :PrevWindow {groups} (workspace=[current])
# Alt+F(N)
Mod1 F2 :Exec fbrun
Mod1 F3 :WindowMenu
Mod1 F4 :Close
Mod1 Shift F4 :Kill
Mod1 F5 :Shade
Mod1 Shift F5 :If {Matches (Layer!=Bottom)} {SetLayer Bottom} {SetLayer Normal}
Mod1 F6 :Stick
Mod1 Shift F6 :If {Matches (Layer!=Top)} {SetLayer Top} {SetLayer Normal}
Mod1 F7 :KeyMode MoveMode
Mod1 Shift F7 :SetAlpha -32 -32
Mod1 F8 :KeyMode ResizeMode
Mod1 Shift F8 :SetAlpha +32 +32
Mod1 F9 :Minimize
Mod1 F10 :Maximize
Mod1 F11 :Fullscreen
Mod1 Shift F11 :ToggleDecor
Mod1 F12 :Exec ps -C skippy-xd 1>/dev/null 2>&1 || skippy-xd
# Alt+F7 move mode
MoveMode: None Left :MoveLeft 20
MoveMode: None Right :MoveRight 20
MoveMode: None Up :MoveUp 20
MoveMode: None Down :MoveDown 20
MoveMode: Shift Left :MoveLeft 1
MoveMode: Shift Right :MoveRight 1
MoveMode: Shift Up :MoveUp 1
MoveMode: Shift Down :MoveDown 1
MoveMode: Return :KeyMode default
MoveMode: KP_Enter :KeyMode default
# Alt+F8 resize mode
ResizeMode: None Left :ResizeHorizontal -20
ResizeMode: None Right :ResizeHorizontal 20
ResizeMode: None Up :ResizeVertical -20
ResizeMode: None Down :ResizeVertical 20
ResizeMode: Shift Left :ResizeHorizontal -1
ResizeMode: Shift Right :ResizeHorizontal 1
ResizeMode: Shift Up :ResizeVertical -1
ResizeMode: Shift Down :ResizeVertical 1
ResizeMode: Return :KeyMode default
ResizeMode: KP_Enter :KeyMode default
# Alt+Shift+F10 directional maximizations
Mod1 Shift F10 Left :MaximizeHorizontal
Mod1 Shift F10 Right :MaximizeHorizontal
Mod1 Shift F10 Up :MaximizeVertical
Mod1 Shift F10 Down :MaximizeVertical
# Title bar right click to open window menu
OnTitlebar Mouse3 :WindowMenu
# (Un)shade window when scrolling on titlebar
OnTitlebar Mouse4 :ShadeOn
OnTitlebar Mouse5 :ShadeOff
# Title bar drag, border drag, and Alt+drag
OnTitlebar Move1 :StartMoving
OnWindowBorder Move1 :StartMoving
OnWindow Mod1 Move1 :StartMoving
#OnWindow Mod1 Mouse1 :MacroCmd {Raise} {Focus} {StartMoving}
# Resize on corner dragging and Alt+right-click on window
OnLeftGrip Move1 :StartResizing BottomLeft
OnRightGrip Move1 :StartResizing BottomRight
OnWindow Mod1 Mouse3 :MacroCmd {Raise} {Focus} {StartResizing NearestCorner}
# Maximize on title bar double click
OnTitlebar Double Mouse1 :Maximize
# Tiling
Mod4 Left :MacroCmd {ResizeTo 50% 100%} {MoveTo 0 0 TopLeft}
Mod4 Right :MacroCmd {ResizeTo 50% 100%} {MoveTo 0 0 TopRight}
Mod4 Up :MacroCmd {ResizeTo 100% 50%} {MoveTo 0 0 TopLeft}
Mod4 Down :MacroCmd {ResizeTo 100% 50%} {MoveTo 0 0 BottomLeft}
#OnTitlebar Mouse1 :MacroCmd {Raise} {Focus} {ActivateTab}
#
# Tab Management
#
# Super(+Shift)+Tab
Mod4 Tab :NextTab
Mod4 Shift Tab :PrevTab
# Switch to specific tab
Mod4 1 :Tab 1
Mod4 2 :Tab 2
Mod4 3 :Tab 3
Mod4 4 :Tab 4
Mod4 5 :Tab 5
Mod4 6 :Tab 6
Mod4 7 :Tab 7
Mod4 8 :Tab 8
Mod4 9 :Tab 9
# Ctrl+drag tabs
OnTitlebar Control Mouse1 :StartTabbing
#
# Workspace Management
#
# Switch to next/previous workspace
Control Mod1 Left :Exec ~/bin/chdt l
Control Mod1 Right :Exec ~/bin/chdt r
Control Mod1 Up :Exec ~/bin/chdt u
Control Mod1 Down :Exec ~/bin/chdt d
# Switch to specific workspace
Control F1 :Workspace 1
Control F2 :Workspace 2
Control F3 :Workspace 3
Control F4 :Workspace 4
Control F5 :Workspace 5
Control F6 :Workspace 6
Control F7 :Workspace 7
Control F8 :Workspace 8
Control F9 :Workspace 9
Control F10 :Workspace 10
Control F11 :Workspace 11
Control F12 :Workspace 12
# Move window to next/previous workspace
Control Mod1 Shift Left :Exec ~/bin/chdt -w l
Control Mod1 Shift Right :Exec ~/bin/chdt -w r
Control Mod1 Shift Up :Exec ~/bin/chdt -w u
Control Mod1 Shift Down :Exec ~/bin/chdt -w d
# Move window to next/previous workspace
Control Shift F1 :TakeToWorkspace 1
Control Shift F2 :TakeToWorkspace 2
Control Shift F3 :TakeToWorkspace 3
Control Shift F4 :TakeToWorkspace 4
Control Shift F5 :TakeToWorkspace 5
Control Shift F6 :TakeToWorkspace 6
Control Shift F7 :TakeToWorkspace 7
Control Shift F8 :TakeToWorkspace 8
Control Shift F9 :TakeToWorkspace 9
Control Shift F10 :TakeToWorkspace 10
Control Shift F11 :TakeToWorkspace 11
Control Shift F12 :TakeToWorkspace 12
#
# Session and Applications
#
# Session/screen management
Pause :Delay {Exec xset dpms force off} 100000
Control Mod1 Delete l :Exec xscreensaver-command -lock
Control Mod1 Delete q :Exec ~/bin/xsession logout
Control Mod1 Delete s :Exec ~/bin/xsession shutdown
Control Mod1 Delete r :Exec ~/bin/xsession reboot
Control Mod1 Delete m :Exec ~/bin/xsession s2mem
Control Mod1 Delete d :Exec ~/bin/xsession s2disk
Control Mod1 Delete c :Reconfigure
# Audio
XF86AudioRaiseVolume :Exec amixer set Master,0 5dB+
XF86AudioLowerVolume :Exec amixer set Master,0 5dB-
XF86AudioMute :Exec amixer set Master,0 toggle
# Music
Mod4 F1 :Exec mpc toggle
Mod4 F2 :Exec mpc stop
Mod4 F3 :Exec mpc prev
Mod4 F4 :Exec mpc next
Mod4 Shift F1 :Exec mpc repeat
Mod4 Shift F2 :Exec mpc single
Mod4 Shift F3 :Exec mpc seek -00:00:05
Mod4 Shift F4 :Exec mpc seek +00:00:05
# Brightness and mouse
Mod4 F5 :Exec ~/bin/bright t
Mod4 F6 :Exec ~/bin/xinput-toggle 'Logitech USB-PS/2 Optical Mouse'
# PrtSc
Print :Exec scrot ~/shots/%Y-%m-%d_%H:%M:%S.png
Shift Print :Exec scrot -u -b ~/shots/%Y-%m-%d_%H:%M:%S.png
Mod1 Print :Exec scrot -s ~/shots/%Y-%m-%d_%H:%M:%S.png
# Launch applications
#Mod4 :CustomMenu ~/.fluxbox/menus/applications
Mod4 t :Exec x-terminal-emulator
Mod4 m :Exec claws-mail
Mod4 w :Exec x-www-browser
Mod4 Shift w :Exec x-www-browser -p
Mod4 c :Exec gnome-calculator
Mod4 o :Exec libreoffice
#
# Menus
#
OnDesktop Mouse1 :HideMenus
OnDesktop Mouse2 :WorkspaceMenu
OnDesktop Mouse3 :RootMenu
|