]> git.sur5r.net Git - i3/i3/blob - i3.config
Implement selecting the next tiling/floating window (using "focus")
[i3/i3] / i3.config
1 # This configuration uses Mod1 and Mod3. Make sure they are mapped properly using xev(1)
2 # and xmodmap(1). Usually, Mod1 is Alt (Alt_L) and Mod3 is Windows (Super_L)
3
4 # Tell i3 about your preferred terminal. You can refer to this as $terminal
5 # later. It is recommended to set this option to allow i3 to open a terminal
6 # containing the introduction on first start.
7 terminal /usr/bin/urxvt
8
9 # ISO 10646 = Unicode
10 font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
11
12 # Fullscreen (Mod1+f)
13 bind Mod1+41 f
14
15 # Stacking (Mod1+h)
16 bind Mod1+43 s
17
18 # Default (Mod1+e)
19 bind Mod1+26 d
20
21 # Toggle tiling/floating of the current window (Mod1+Shift+Space)
22 bind Mod1+Shift+65 t
23
24 # Go into the tiling layer / floating layer, depending on whether
25 # the current window is tiling / floating (Mod1+t)
26 bind Mod1+28 focus ft
27
28 # Focus (Mod1+j/k/l/;)
29 bind Mod1+44 h
30 bind Mod1+45 j
31 bind Mod1+46 k
32 bind Mod1+47 l
33
34 # Focus Container (Mod3+j/k/l/;)
35 bind Mod3+44 wch
36 bind Mod3+45 wcj
37 bind Mod3+46 wck
38 bind Mod3+47 wcl
39
40 # Snap (Mod1+Control+j/k/l/;)
41 bind Mod1+Control+44 sh
42 bind Mod1+Control+45 sj
43 bind Mod1+Control+46 sk
44 bind Mod1+Control+47 sl
45
46 # Move (Mod1+Shift+j/k/l/;)
47 bind Mod1+Shift+44 mh
48 bind Mod1+Shift+45 mj
49 bind Mod1+Shift+46 mk
50 bind Mod1+Shift+47 ml
51
52 # Move Container (Mod3+Shift+j/k/l/;)
53 bind Mod3+Shift+44 wcmh
54 bind Mod3+Shift+45 wcmj
55 bind Mod3+Shift+46 wcmk
56 bind Mod3+Shift+47 wcml
57
58 # Workspaces (Mod1+1/2/…)
59 bind Mod1+10 1
60 bind Mod1+11 2
61 bind Mod1+12 3
62 bind Mod1+13 4
63 bind Mod1+14 5
64 bind Mod1+15 6
65 bind Mod1+16 7
66 bind Mod1+17 8
67 bind Mod1+18 9
68 bind Mod1+19 10
69
70 # Move to Workspaces
71 bind Mod1+Shift+10 m1
72 bind Mod1+Shift+11 m2
73 bind Mod1+Shift+12 m3
74 bind Mod1+Shift+13 m4
75 bind Mod1+Shift+14 m5
76 bind Mod1+Shift+15 m6
77 bind Mod1+Shift+16 m7
78 bind Mod1+Shift+17 m8
79 bind Mod1+Shift+18 m9
80 bind Mod1+Shift+19 m10
81
82 # Mod1+Enter starts a new terminal
83 bind Mod1+36 exec /usr/bin/urxvt
84
85 # Mod1+Shift+q kills the current client
86 bind Mod1+Shift+24 kill
87
88 # Mod1+v starts dmenu and launches the selected application
89 # for now, we don’t have an own launcher
90 bind Mod1+55 exec /usr/bin/dmenu_run
91
92 # Mod1+Shift+e exits i3
93 bind Mod1+Shift+26 exit
94
95 # Mod1+Shift+r restarts i3 inplace
96 bind Mod1+Shift+27 restart