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)
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
10 font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
12 # Use Mouse+Mod1 to drag floating windows to their wanted position
13 floating_modifier Mod1
27 # Toggle tiling/floating of the current window (Mod1+Shift+Space)
30 # Go into the tiling layer / floating layer, depending on whether
31 # the current window is tiling / floating (Mod1+t)
34 # Focus (Mod1+j/k/l/;)
39 # (alternatively, you can use the cursor keys:)
45 # Focus Container (Mod3+j/k/l/;)
50 # (alternatively, you can use the cursor keys:)
54 bindsym Mod3+Right wcl
56 # Snap (Mod1+Control+j/k/l/;)
57 bind Mod1+Control+44 sh
58 bind Mod1+Control+45 sj
59 bind Mod1+Control+46 sk
60 bind Mod1+Control+47 sl
61 # (alternatively, you can use the cursor keys:)
62 bindsym Mod1+Control+Left sh
63 bindsym Mod1+Control+Down sj
64 bindsym Mod1+Control+Up sk
65 bindsym Mod1+Control+Right sl
67 # Move (Mod1+Shift+j/k/l/;)
72 # (alternatively, you can use the cursor keys:)
73 bindsym Mod1+Shift+Left mh
74 bindsym Mod1+Shift+Down mj
75 bindsym Mod1+Shift+Up mk
76 bindsym Mod1+Shift+Right ml
78 # Move Container (Mod3+Shift+j/k/l/;)
79 bind Mod3+Shift+44 wcmh
80 bind Mod3+Shift+45 wcmj
81 bind Mod3+Shift+46 wcmk
82 bind Mod3+Shift+47 wcml
84 # Workspaces (Mod1+1/2/…)
100 bind Mod1+Shift+13 m4
101 bind Mod1+Shift+14 m5
102 bind Mod1+Shift+15 m6
103 bind Mod1+Shift+16 m7
104 bind Mod1+Shift+17 m8
105 bind Mod1+Shift+18 m9
106 bind Mod1+Shift+19 m10
108 # Mod1+Enter starts a new terminal
109 bind Mod1+36 exec /usr/bin/urxvt
111 # Mod1+Shift+q kills the current client
112 bind Mod1+Shift+24 kill
114 # Mod1+v starts dmenu and launches the selected application
115 # for now, we don’t have an own launcher
116 bind Mod1+55 exec /usr/bin/dmenu_run
118 # Mod1+Shift+e exits i3
119 bind Mod1+Shift+26 exit
121 # Mod1+Shift+r restarts i3 inplace
122 bind Mod1+Shift+27 restart
124 #############################################################
125 # DELETE THE FOLLOWING LINES TO DISABLE THE WELCOME MESSAGE #
126 #############################################################
127 exec xmessage -file /etc/i3/welcome