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