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