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 a FreeType font, such as:
19 # font pango: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
32 # There also is the (new) i3-dmenu-desktop which only displays applications
33 # shipping a .desktop file. It is a wrapper around dmenu, so you need that
35 # bindsym Mod1+d exec --no-startup-id i3-dmenu-desktop
38 bindsym Mod1+j focus left
39 bindsym Mod1+k focus down
40 bindsym Mod1+l focus up
41 bindsym Mod1+semicolon focus right
43 # alternatively, you can use the cursor keys:
44 bindsym Mod1+Left focus left
45 bindsym Mod1+Down focus down
46 bindsym Mod1+Up focus up
47 bindsym Mod1+Right focus right
50 bindsym Mod1+Shift+j move left
51 bindsym Mod1+Shift+k move down
52 bindsym Mod1+Shift+l move up
53 bindsym Mod1+Shift+semicolon move right
55 # alternatively, you can use the cursor keys:
56 bindsym Mod1+Shift+Left move left
57 bindsym Mod1+Shift+Down move down
58 bindsym Mod1+Shift+Up move up
59 bindsym Mod1+Shift+Right move right
61 # split in horizontal orientation
62 bindsym Mod1+h split h
64 # split in vertical orientation
65 bindsym Mod1+v split v
67 # enter fullscreen mode for the focused container
68 bindsym Mod1+f fullscreen
70 # change container layout (stacked, tabbed, toggle split)
71 bindsym Mod1+s layout stacking
72 bindsym Mod1+w layout tabbed
73 bindsym Mod1+e layout toggle split
75 # toggle tiling / floating
76 bindsym Mod1+Shift+space floating toggle
78 # change focus between tiling / floating windows
79 bindsym Mod1+space focus mode_toggle
81 # focus the parent container
82 bindsym Mod1+a focus parent
84 # focus the child container
85 #bindsym Mod1+d focus child
87 # move the currently focused window to the scratchpad
88 bindsym Mod1+Shift+minus move scratchpad
90 # Show the next scratchpad window or hide the focused scratchpad window.
91 # If there are multiple scratchpad windows, this command cycles through them.
92 bindsym Mod1+minus scratchpad show
95 bindsym Mod1+1 workspace 1
96 bindsym Mod1+2 workspace 2
97 bindsym Mod1+3 workspace 3
98 bindsym Mod1+4 workspace 4
99 bindsym Mod1+5 workspace 5
100 bindsym Mod1+6 workspace 6
101 bindsym Mod1+7 workspace 7
102 bindsym Mod1+8 workspace 8
103 bindsym Mod1+9 workspace 9
104 bindsym Mod1+0 workspace 10
106 # move focused container to workspace
107 bindsym Mod1+Shift+1 move container to workspace 1
108 bindsym Mod1+Shift+2 move container to workspace 2
109 bindsym Mod1+Shift+3 move container to workspace 3
110 bindsym Mod1+Shift+4 move container to workspace 4
111 bindsym Mod1+Shift+5 move container to workspace 5
112 bindsym Mod1+Shift+6 move container to workspace 6
113 bindsym Mod1+Shift+7 move container to workspace 7
114 bindsym Mod1+Shift+8 move container to workspace 8
115 bindsym Mod1+Shift+9 move container to workspace 9
116 bindsym Mod1+Shift+0 move container to workspace 10
118 # reload the configuration file
119 bindsym Mod1+Shift+c reload
120 # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
121 bindsym Mod1+Shift+r restart
122 # exit i3 (logs you out of your X session)
123 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'"
125 # resize window (you can also use the mouse for that)
127 # These bindings trigger as soon as you enter the resize mode
129 # Pressing left will shrink the window’s width.
130 # Pressing right will grow the window’s width.
131 # Pressing up will shrink the window’s height.
132 # Pressing down will grow the window’s height.
133 bindsym j resize shrink width 10 px or 10 ppt
134 bindsym k resize grow height 10 px or 10 ppt
135 bindsym l resize shrink height 10 px or 10 ppt
136 bindsym semicolon resize grow width 10 px or 10 ppt
138 # same bindings, but for the arrow keys
139 bindsym Left resize shrink width 10 px or 10 ppt
140 bindsym Down resize grow height 10 px or 10 ppt
141 bindsym Up resize shrink height 10 px or 10 ppt
142 bindsym Right resize grow width 10 px or 10 ppt
144 # back to normal: Enter or Escape
145 bindsym Return mode "default"
146 bindsym Escape mode "default"
149 bindsym Mod1+r mode "resize"
151 # Start i3bar to display a workspace bar (plus the system information i3status
152 # finds out, if available)
154 status_command i3status
157 #######################################################################
158 # automatically start i3-config-wizard to offer the user to create a
159 # keysym-based config which used his favorite modifier (alt or windows)
161 # i3-config-wizard will not launch if there already is a config file
164 # Please remove the following exec line:
165 #######################################################################
166 exec i3-config-wizard