]> git.sur5r.net Git - i3/i3/blob - i3.config
Merge branch 'next'
[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 # ISO 10646 = Unicode
5 font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
6
7 # Use Mouse+Mod1 to drag floating windows to their wanted position
8 floating_modifier Mod1
9
10 # Fullscreen (Mod1+f)
11 bind Mod1+41 f
12
13 # Stacking (Mod1+h)
14 bind Mod1+43 s
15
16 # Tabbed (Mod1+w)
17 bind Mod1+25 T
18
19 # Default (Mod1+e)
20 bind Mod1+26 d
21
22 # Toggle tiling/floating of the current window (Mod1+Shift+Space)
23 bind Mod1+Shift+65 t
24
25 # Go into the tiling layer / floating layer, depending on whether
26 # the current window is tiling / floating (Mod1+t)
27 bind Mod1+28 focus ft
28
29 # Focus (Mod1+j/k/l/;)
30 bind Mod1+44 h
31 bind Mod1+45 j
32 bind Mod1+46 k
33 bind Mod1+47 l
34 # (alternatively, you can use the cursor keys:)
35 bindsym Mod1+Left h
36 bindsym Mod1+Down j
37 bindsym Mod1+Up k
38 bindsym Mod1+Right 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 # (alternatively, you can use the cursor keys:)
46 bindsym Mod3+Left wch
47 bindsym Mod3+Down wcj
48 bindsym Mod3+Up wck
49 bindsym Mod3+Right wcl
50
51 # Snap (Mod1+Control+j/k/l/;)
52 bind Mod1+Control+44 sh
53 bind Mod1+Control+45 sj
54 bind Mod1+Control+46 sk
55 bind Mod1+Control+47 sl
56 # (alternatively, you can use the cursor keys:)
57 bindsym Mod1+Control+Left sh
58 bindsym Mod1+Control+Down sj
59 bindsym Mod1+Control+Up sk
60 bindsym Mod1+Control+Right sl
61
62 # Move (Mod1+Shift+j/k/l/;)
63 bind Mod1+Shift+44 mh
64 bind Mod1+Shift+45 mj
65 bind Mod1+Shift+46 mk
66 bind Mod1+Shift+47 ml
67 # (alternatively, you can use the cursor keys:)
68 bindsym Mod1+Shift+Left mh
69 bindsym Mod1+Shift+Down mj
70 bindsym Mod1+Shift+Up mk
71 bindsym Mod1+Shift+Right ml
72
73 # Move Container (Mod3+Shift+j/k/l/;)
74 bind Mod3+Shift+44 wcmh
75 bind Mod3+Shift+45 wcmj
76 bind Mod3+Shift+46 wcmk
77 bind Mod3+Shift+47 wcml
78
79 # Workspaces (Mod1+1/2/…)
80 bind Mod1+10 1
81 bind Mod1+11 2
82 bind Mod1+12 3
83 bind Mod1+13 4
84 bind Mod1+14 5
85 bind Mod1+15 6
86 bind Mod1+16 7
87 bind Mod1+17 8
88 bind Mod1+18 9
89 bind Mod1+19 10
90
91 # Move to Workspaces
92 bind Mod1+Shift+10 m1
93 bind Mod1+Shift+11 m2
94 bind Mod1+Shift+12 m3
95 bind Mod1+Shift+13 m4
96 bind Mod1+Shift+14 m5
97 bind Mod1+Shift+15 m6
98 bind Mod1+Shift+16 m7
99 bind Mod1+Shift+17 m8
100 bind Mod1+Shift+18 m9
101 bind Mod1+Shift+19 m10
102
103 # Mod1+Enter starts a new terminal
104 bind Mod1+36 exec /usr/bin/urxvt
105
106 # Mod1+Shift+q kills the current client
107 bind Mod1+Shift+24 kill
108
109 # Mod1+v starts dmenu and launches the selected application
110 # for now, we don’t have a launcher of our own.
111 bind Mod1+55 exec /usr/bin/dmenu_run
112
113 # Mod1+Shift+e exits i3
114 bind Mod1+Shift+26 exit
115
116 # Mod1+Shift+r restarts i3 inplace
117 bind Mod1+Shift+27 restart
118
119 # The IPC interface allows programs like an external workspace bar
120 # (i3-wsbar) or i3-msg (can be used to "remote-control" i3) to work.
121 ipc-socket ~/.i3/ipc.sock
122
123 #############################################################
124 # DELETE THE FOLLOWING LINES TO DISABLE THE WELCOME MESSAGE #
125 #############################################################
126 exec xmessage -file /etc/i3/welcome