2 # WARNING: This configuration file is a template for the i3-config-wizard to
3 # WARNING: generate a config which uses keysyms in your current layout. It does
4 # WARNING: not get loaded by i3. Please do not change it.
9 # Please see http://i3wm.org/docs/userguide.html for a complete reference!
13 # Font for window titles. Will also be used by the bar unless a different font
14 # is used in the bar {} block below.
15 # This font is widely installed, provides lots of unicode glyphs, right-to-left
16 # text rendering and scalability on retina/hidpi displays (thanks to pango).
17 font pango:DejaVu Sans Mono 8
18 # Before i3 v4.8, we used to recommend this one as the default:
19 # font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
20 # The font above is very space-efficient, that is, it looks good, sharp and
21 # clear in small sizes. However, its unicode glyph coverage is limited, the old
22 # X core fonts rendering does not support right-to-left and this being a bitmap
23 # font, it doesn’t scale on retina/hidpi displays.
25 # Use Mouse+$mod to drag floating windows to their wanted position
26 floating_modifier $mod
29 bindcode $mod+36 exec i3-sensible-terminal
32 bindcode $mod+Shift+24 kill
34 # start dmenu (a program launcher)
35 bindcode $mod+40 exec dmenu_run
36 # There also is the (new) i3-dmenu-desktop which only displays applications
37 # shipping a .desktop file. It is a wrapper around dmenu, so you need that
39 # bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
42 bindcode $mod+44 focus left
43 bindcode $mod+45 focus down
44 bindcode $mod+46 focus up
45 bindcode $mod+47 focus right
47 # alternatively, you can use the cursor keys:
48 bindcode $mod+113 focus left
49 bindcode $mod+116 focus down
50 bindcode $mod+111 focus up
51 bindcode $mod+114 focus right
54 bindcode $mod+Shift+44 move left
55 bindcode $mod+Shift+45 move down
56 bindcode $mod+Shift+46 move up
57 bindcode $mod+Shift+47 move right
59 # alternatively, you can use the cursor keys:
60 bindcode $mod+Shift+113 move left
61 bindcode $mod+Shift+116 move down
62 bindcode $mod+Shift+111 move up
63 bindcode $mod+Shift+114 move right
65 # split in horizontal orientation
66 bindcode $mod+43 split h
68 # split in vertical orientation
69 bindcode $mod+55 split v
71 # enter fullscreen mode for the focused container
72 bindcode $mod+41 fullscreen
74 # change container layout (stacked, tabbed, toggle split)
75 bindcode $mod+39 layout stacking
76 bindcode $mod+25 layout tabbed
77 bindcode $mod+26 layout toggle split
79 # toggle tiling / floating
80 bindcode $mod+Shift+65 floating toggle
82 # change focus between tiling / floating windows
83 bindcode $mod+65 focus mode_toggle
85 # focus the parent container
86 bindcode $mod+38 focus parent
88 # focus the child container
89 #bindsym $mod+d focus child
92 bindcode $mod+10 workspace 1
93 bindcode $mod+11 workspace 2
94 bindcode $mod+12 workspace 3
95 bindcode $mod+13 workspace 4
96 bindcode $mod+14 workspace 5
97 bindcode $mod+15 workspace 6
98 bindcode $mod+16 workspace 7
99 bindcode $mod+17 workspace 8
100 bindcode $mod+18 workspace 9
101 bindcode $mod+19 workspace 10
103 # move focused container to workspace
104 bindcode $mod+Shift+10 move container to workspace 1
105 bindcode $mod+Shift+11 move container to workspace 2
106 bindcode $mod+Shift+12 move container to workspace 3
107 bindcode $mod+Shift+13 move container to workspace 4
108 bindcode $mod+Shift+14 move container to workspace 5
109 bindcode $mod+Shift+15 move container to workspace 6
110 bindcode $mod+Shift+16 move container to workspace 7
111 bindcode $mod+Shift+17 move container to workspace 8
112 bindcode $mod+Shift+18 move container to workspace 9
113 bindcode $mod+Shift+19 move container to workspace 10
115 # reload the configuration file
116 bindcode $mod+Shift+54 reload
117 # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
118 bindcode $mod+Shift+27 restart
119 # exit i3 (logs you out of your X session)
120 bindcode $mod+Shift+26 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'"
122 # resize window (you can also use the mouse for that)
124 # These bindings trigger as soon as you enter the resize mode
126 # Pressing left will shrink the window’s width.
127 # Pressing right will grow the window’s width.
128 # Pressing up will shrink the window’s height.
129 # Pressing down will grow the window’s height.
130 bindcode 44 resize shrink width 10 px or 10 ppt
131 bindcode 45 resize grow height 10 px or 10 ppt
132 bindcode 46 resize shrink height 10 px or 10 ppt
133 bindcode 47 resize grow width 10 px or 10 ppt
135 # same bindings, but for the arrow keys
136 bindcode 113 resize shrink width 10 px or 10 ppt
137 bindcode 116 resize grow height 10 px or 10 ppt
138 bindcode 111 resize shrink height 10 px or 10 ppt
139 bindcode 114 resize grow width 10 px or 10 ppt
141 # back to normal: Enter or Escape
142 bindcode 36 mode "default"
143 bindcode 9 mode "default"
146 bindcode $mod+27 mode "resize"
148 # Start i3bar to display a workspace bar (plus the system information i3status
149 # finds out, if available)
151 status_command i3status