]> git.sur5r.net Git - i3/i3/blob - i3.config
Merge branch 'next' (3.β is stable now)
[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 # Use Mouse+Mod1 to drag floating windows to their wanted position
13 floating_modifier Mod1
14
15 # Fullscreen (Mod1+f)
16 bind Mod1+41 f
17
18 # Stacking (Mod1+h)
19 bind Mod1+43 s
20
21 # Default (Mod1+e)
22 bind Mod1+26 d
23
24 # Toggle tiling/floating of the current window (Mod1+Shift+Space)
25 bind Mod1+Shift+65 t
26
27 # Go into the tiling layer / floating layer, depending on whether
28 # the current window is tiling / floating (Mod1+t)
29 bind Mod1+28 focus ft
30
31 # Focus (Mod1+j/k/l/;)
32 bind Mod1+44 h
33 bind Mod1+45 j
34 bind Mod1+46 k
35 bind Mod1+47 l
36
37 # Focus Container (Mod3+j/k/l/;)
38 bind Mod3+44 wch
39 bind Mod3+45 wcj
40 bind Mod3+46 wck
41 bind Mod3+47 wcl
42
43 # Snap (Mod1+Control+j/k/l/;)
44 bind Mod1+Control+44 sh
45 bind Mod1+Control+45 sj
46 bind Mod1+Control+46 sk
47 bind Mod1+Control+47 sl
48
49 # Move (Mod1+Shift+j/k/l/;)
50 bind Mod1+Shift+44 mh
51 bind Mod1+Shift+45 mj
52 bind Mod1+Shift+46 mk
53 bind Mod1+Shift+47 ml
54
55 # Move Container (Mod3+Shift+j/k/l/;)
56 bind Mod3+Shift+44 wcmh
57 bind Mod3+Shift+45 wcmj
58 bind Mod3+Shift+46 wcmk
59 bind Mod3+Shift+47 wcml
60
61 # Workspaces (Mod1+1/2/…)
62 bind Mod1+10 1
63 bind Mod1+11 2
64 bind Mod1+12 3
65 bind Mod1+13 4
66 bind Mod1+14 5
67 bind Mod1+15 6
68 bind Mod1+16 7
69 bind Mod1+17 8
70 bind Mod1+18 9
71 bind Mod1+19 10
72
73 # Move to Workspaces
74 bind Mod1+Shift+10 m1
75 bind Mod1+Shift+11 m2
76 bind Mod1+Shift+12 m3
77 bind Mod1+Shift+13 m4
78 bind Mod1+Shift+14 m5
79 bind Mod1+Shift+15 m6
80 bind Mod1+Shift+16 m7
81 bind Mod1+Shift+17 m8
82 bind Mod1+Shift+18 m9
83 bind Mod1+Shift+19 m10
84
85 # Mod1+Enter starts a new terminal
86 bind Mod1+36 exec /usr/bin/urxvt
87
88 # Mod1+Shift+q kills the current client
89 bind Mod1+Shift+24 kill
90
91 # Mod1+v starts dmenu and launches the selected application
92 # for now, we don’t have an own launcher
93 bind Mod1+55 exec /usr/bin/dmenu_run
94
95 # Mod1+Shift+e exits i3
96 bind Mod1+Shift+26 exit
97
98 # Mod1+Shift+r restarts i3 inplace
99 bind Mod1+Shift+27 restart