.bashrc.d/20nobeep: Add missing ~/ prefix to one .mozilla path
[dotfiles-public.git] / src / .fluxbox / keys
1 # begin /usr/share/fluxbox/keys from Gentoo's x11-wm/fluxbox-1.3.1 package
2
3 # click on the desktop to get menus
4 OnDesktop Mouse1 :HideMenus
5 OnDesktop Mouse2 :WorkspaceMenu
6 OnDesktop Mouse3 :RootMenu
7
8 # scroll on the desktop to change workspaces
9 OnDesktop Mouse4 :PrevWorkspace
10 OnDesktop Mouse5 :NextWorkspace
11
12 # scroll on the toolbar to change current window
13 OnToolbar Mouse4 :PrevWindow {static groups} (iconhidden=no)
14 OnToolbar Mouse5 :NextWindow {static groups} (iconhidden=no)
15
16 # alt + left/right click to move/resize a window
17 OnWindow Mod1 Mouse1 :MacroCmd {Raise} {Focus} {StartMoving}
18 OnWindowBorder Move1 :StartMoving
19
20 OnWindow Mod1 Mouse3 :MacroCmd {Raise} {Focus} {StartResizing NearestCorner}
21 OnLeftGrip Move1 :StartResizing bottomleft
22 OnRightGrip Move1 :StartResizing bottomright
23
24 # alt + middle click to lower the window
25 OnWindow Mod1 Mouse2 :Lower
26
27 # control-click a window's titlebar and drag to attach windows
28 OnTitlebar Control Mouse1 :StartTabbing
29
30 # double click on the titlebar to shade
31 OnTitlebar Double Mouse1 :Shade
32
33 # left click on the titlebar to move the window
34 OnTitlebar Mouse1 :MacroCmd {Raise} {Focus} {ActivateTab}
35 OnTitlebar Move1  :StartMoving
36
37 # middle click on the titlebar to lower
38 OnTitlebar Mouse2 :Lower
39
40 # right click on the titlebar for a menu of options
41 OnTitlebar Mouse3 :WindowMenu
42
43 # alt-tab
44 Mod1 Tab :NextWindow {groups} (workspace=[current])
45 Mod1 Shift Tab :PrevWindow {groups} (workspace=[current])
46
47 # cycle through tabs in the current window
48 Mod4 Tab :NextTab
49 Mod4 Shift Tab :PrevTab
50
51 # go to a specific tab in the current window
52 Mod4 1 :Tab 1
53 Mod4 2 :Tab 2
54 Mod4 3 :Tab 3
55 Mod4 4 :Tab 4
56 Mod4 5 :Tab 5
57 Mod4 6 :Tab 6
58 Mod4 7 :Tab 7
59 Mod4 8 :Tab 8
60 Mod4 9 :Tab 9
61
62 # volume settings, using common keycodes
63 # if these don't work, use xev to find out your real keycodes
64 176 :Exec amixer sset Master,0 1+
65 174 :Exec amixer sset Master,0 1-
66 160 :Exec amixer sset Master,0 toggle
67
68 # open the window menu
69 Mod1 space :WindowMenu
70
71 # exit fluxbox
72 Control Mod1 Delete :Exit
73
74 # change to previous/next workspace
75 Control Mod1 Left :PrevWorkspace
76 Control Mod1 Right :NextWorkspace
77
78 # send the current window to previous/next workspace
79 Mod4 Left :SendToPrevWorkspace
80 Mod4 Right :SendToNextWorkspace
81
82 # send the current window and follow it to previous/next workspace
83 Control Mod4 Left :TakeToPrevWorkspace
84 Control Mod4 Right :TakeToNextWorkspace
85
86 # change to a specific workspace
87 Control F1 :Workspace 1
88 Control F2 :Workspace 2
89 Control F3 :Workspace 3
90 Control F4 :Workspace 4
91 Control F5 :Workspace 5
92 Control F6 :Workspace 6
93 Control F7 :Workspace 7
94 Control F8 :Workspace 8
95 Control F9 :Workspace 9
96 Control F10 :Workspace 10
97 Control F11 :Workspace 11
98 Control F12 :Workspace 12
99
100 # send the current window to a specific workspace
101 Mod4 F1 :SendToWorkspace 1
102 Mod4 F2 :SendToWorkspace 2
103 Mod4 F3 :SendToWorkspace 3
104 Mod4 F4 :SendToWorkspace 4
105 Mod4 F5 :SendToWorkspace 5
106 Mod4 F6 :SendToWorkspace 6
107 Mod4 F7 :SendToWorkspace 7
108 Mod4 F8 :SendToWorkspace 8
109 Mod4 F9 :SendToWorkspace 9
110 Mod4 F10 :SendToWorkspace 10
111 Mod4 F11 :SendToWorkspace 11
112 Mod4 F12 :SendToWorkspace 12
113
114 # send the current window and change to a specific workspace
115 Control Mod4 F1 :TakeToWorkspace 1
116 Control Mod4 F2 :TakeToWorkspace 2
117 Control Mod4 F3 :TakeToWorkspace 3
118 Control Mod4 F4 :TakeToWorkspace 4
119 Control Mod4 F5 :TakeToWorkspace 5
120 Control Mod4 F6 :TakeToWorkspace 6
121 Control Mod4 F7 :TakeToWorkspace 7
122 Control Mod4 F8 :TakeToWorkspace 8
123 Control Mod4 F9 :TakeToWorkspace 9
124 Control Mod4 F10 :TakeToWorkspace 10
125 Control Mod4 F11 :TakeToWorkspace 11
126 Control Mod4 F12 :TakeToWorkspace 12
127
128 # end /usr/share/fluxbox/keys
129
130 # my local additions
131 #
132 # Fluxbox  Standard keyboard
133 # Mod1     Alt
134 # Mod4     Windows key
135 # Control  Ctrl
136 # Shift    Shift
137
138 Mod1 t :ExecCommand xterm -fg white -bg black -fa mono-medium
139 Mod1 f :ExecCommand firefox
140 Control Mod1 l :ExecCommand xlock -mode blank
141 Mod1 c :ToggleCmd {Exec conky} {pkill conky}
142 Print :ExecCommand import -window root /tmp/screenshot.png
143
144 # current window commands
145 Mod1 i :Move 0 -10
146 Mod1 k :Move 0 10
147 Mod1 j :Move -10 0
148 Mod1 l :Move 10 0
149 Mod4 i :Resize 0 -10
150 Mod4 k :Resize 0 10
151 Mod4 j :Resize -10 0
152 Mod4 l :Resize 10 0
153
154 Mod1 m :Maximize
155 Mod4 f :Fullscreen
156 Mod4 c :Close
157
158 Control Mod1 r :Reconfigure