3 # Please see http://i3wm.org/docs/userguide.html for a complete reference!
5 # This config file uses keycodes (bindsym) and was written for the QWERTY
8 # To get a config file with the same key positions, but for your current
9 # layout, use the i3-config-wizard
12 # Font for window titles. Will also be used by the bar unless a different font
13 # is used in the bar {} block below. ISO 10646 = Unicode
14 font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
15 # The font above is very space-efficient, that is, it looks good, sharp and
16 # clear in small sizes. However, if you need a lot of unicode glyphs or
17 # right-to-left text rendering, you should instead use pango for rendering and
18 # chose an xft font, such as:
19 # font xft:DejaVu Sans Mono 10
21 # use Mouse+Mod1 to drag floating windows to their wanted position
22 floating_modifier Mod1
25 bindsym Mod1+Return exec i3-sensible-terminal
28 bindsym Mod1+Shift+q kill
30 # start dmenu (a program launcher)
31 bindsym Mod1+d exec dmenu_run
34 bindsym Mod1+j focus left
35 bindsym Mod1+k focus down
36 bindsym Mod1+l focus up
37 bindsym Mod1+semicolon focus right
39 # alternatively, you can use the cursor keys:
40 bindsym Mod1+Left focus left
41 bindsym Mod1+Down focus down
42 bindsym Mod1+Up focus up
43 bindsym Mod1+Right focus right
46 bindsym Mod1+Shift+j move left
47 bindsym Mod1+Shift+k move down
48 bindsym Mod1+Shift+l move up
49 bindsym Mod1+Shift+semicolon move right
51 # alternatively, you can use the cursor keys:
52 bindsym Mod1+Shift+Left move left
53 bindsym Mod1+Shift+Down move down
54 bindsym Mod1+Shift+Up move up
55 bindsym Mod1+Shift+Right move right
57 # split in horizontal orientation
58 bindsym Mod1+h split h
60 # split in vertical orientation
61 bindsym Mod1+v split v
63 # enter fullscreen mode for the focused container
64 bindsym Mod1+f fullscreen
66 # change container layout (stacked, tabbed, toggle split)
67 bindsym Mod1+s layout stacking
68 bindsym Mod1+w layout tabbed
69 bindsym Mod1+e layout toggle split
71 # toggle tiling / floating
72 bindsym Mod1+Shift+space floating toggle
74 # change focus between tiling / floating windows
75 bindsym Mod1+space focus mode_toggle
77 # focus the parent container
78 bindsym Mod1+a focus parent
80 # focus the child container
81 #bindsym Mod1+d focus child
84 bindsym Mod1+1 workspace 1
85 bindsym Mod1+2 workspace 2
86 bindsym Mod1+3 workspace 3
87 bindsym Mod1+4 workspace 4
88 bindsym Mod1+5 workspace 5
89 bindsym Mod1+6 workspace 6
90 bindsym Mod1+7 workspace 7
91 bindsym Mod1+8 workspace 8
92 bindsym Mod1+9 workspace 9
93 bindsym Mod1+0 workspace 10
95 # move focused container to workspace
96 bindsym Mod1+Shift+1 move container to workspace 1
97 bindsym Mod1+Shift+2 move container to workspace 2
98 bindsym Mod1+Shift+3 move container to workspace 3
99 bindsym Mod1+Shift+4 move container to workspace 4
100 bindsym Mod1+Shift+5 move container to workspace 5
101 bindsym Mod1+Shift+6 move container to workspace 6
102 bindsym Mod1+Shift+7 move container to workspace 7
103 bindsym Mod1+Shift+8 move container to workspace 8
104 bindsym Mod1+Shift+9 move container to workspace 9
105 bindsym Mod1+Shift+0 move container to workspace 10
107 # reload the configuration file
108 bindsym Mod1+Shift+c reload
109 # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
110 bindsym Mod1+Shift+r restart
111 # exit i3 (logs you out of your X session)
112 bindsym Mod1+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
114 # resize window (you can also use the mouse for that)
116 # These bindings trigger as soon as you enter the resize mode
118 # Pressing left will shrink the window’s width.
119 # Pressing right will grow the window’s width.
120 # Pressing up will shrink the window’s height.
121 # Pressing down will grow the window’s height.
122 bindsym j resize shrink width 10 px or 10 ppt
123 bindsym k resize grow height 10 px or 10 ppt
124 bindsym l resize shrink height 10 px or 10 ppt
125 bindsym semicolon resize grow width 10 px or 10 ppt
127 # same bindings, but for the arrow keys
128 bindsym Left resize shrink width 10 px or 10 ppt
129 bindsym Down resize grow height 10 px or 10 ppt
130 bindsym Up resize shrink height 10 px or 10 ppt
131 bindsym Right resize grow width 10 px or 10 ppt
133 # back to normal: Enter or Escape
134 bindsym Return mode "default"
135 bindsym Escape mode "default"
138 bindsym Mod1+r mode "resize"
140 # Start i3bar to display a workspace bar (plus the system information i3status
141 # finds out, if available)
143 status_command i3status
146 #######################################################################
147 # automatically start i3-config-wizard to offer the user to create a
148 # keysym-based config which used his favorite modifier (alt or windows)
150 # i3-config-wizard will not launch if there already is a config file
153 # Please remove the following exec line:
154 #######################################################################
155 exec i3-config-wizard