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. ISO 10646 = Unicode
15 font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
16 # The font above is very space-efficient, that is, it looks good, sharp and
17 # clear in small sizes. However, if you need a lot of unicode glyphs or
18 # right-to-left text rendering, you should instead use pango for rendering and
19 # chose a FreeType font, such as:
20 # font pango:DejaVu Sans Mono 10
22 # Use Mouse+$mod to drag floating windows to their wanted position
23 floating_modifier $mod
26 bindcode $mod+36 exec i3-sensible-terminal
29 bindcode $mod+Shift+24 kill
31 # start dmenu (a program launcher)
32 bindcode $mod+40 exec dmenu_run
33 # There also is the (new) i3-dmenu-desktop which only displays applications
34 # shipping a .desktop file. It is a wrapper around dmenu, so you need that
36 # bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
39 bindcode $mod+44 focus left
40 bindcode $mod+45 focus down
41 bindcode $mod+46 focus up
42 bindcode $mod+47 focus right
44 # alternatively, you can use the cursor keys:
45 bindcode $mod+113 focus left
46 bindcode $mod+116 focus down
47 bindcode $mod+111 focus up
48 bindcode $mod+114 focus right
51 bindcode $mod+Shift+44 move left
52 bindcode $mod+Shift+45 move down
53 bindcode $mod+Shift+46 move up
54 bindcode $mod+Shift+47 move right
56 # alternatively, you can use the cursor keys:
57 bindcode $mod+Shift+113 move left
58 bindcode $mod+Shift+116 move down
59 bindcode $mod+Shift+111 move up
60 bindcode $mod+Shift+114 move right
62 # split in horizontal orientation
63 bindcode $mod+43 split h
65 # split in vertical orientation
66 bindcode $mod+55 split v
68 # enter fullscreen mode for the focused container
69 bindcode $mod+41 fullscreen
71 # change container layout (stacked, tabbed, toggle split)
72 bindcode $mod+39 layout stacking
73 bindcode $mod+25 layout tabbed
74 bindcode $mod+26 layout toggle split
76 # toggle tiling / floating
77 bindcode $mod+Shift+65 floating toggle
79 # change focus between tiling / floating windows
80 bindcode $mod+65 focus mode_toggle
82 # focus the parent container
83 bindcode $mod+38 focus parent
85 # focus the child container
86 #bindsym $mod+d focus child
89 bindcode $mod+10 workspace 1
90 bindcode $mod+11 workspace 2
91 bindcode $mod+12 workspace 3
92 bindcode $mod+13 workspace 4
93 bindcode $mod+14 workspace 5
94 bindcode $mod+15 workspace 6
95 bindcode $mod+16 workspace 7
96 bindcode $mod+17 workspace 8
97 bindcode $mod+18 workspace 9
98 bindcode $mod+19 workspace 10
100 # move focused container to workspace
101 bindcode $mod+Shift+10 move container to workspace 1
102 bindcode $mod+Shift+11 move container to workspace 2
103 bindcode $mod+Shift+12 move container to workspace 3
104 bindcode $mod+Shift+13 move container to workspace 4
105 bindcode $mod+Shift+14 move container to workspace 5
106 bindcode $mod+Shift+15 move container to workspace 6
107 bindcode $mod+Shift+16 move container to workspace 7
108 bindcode $mod+Shift+17 move container to workspace 8
109 bindcode $mod+Shift+18 move container to workspace 9
110 bindcode $mod+Shift+19 move container to workspace 10
112 # reload the configuration file
113 bindcode $mod+Shift+54 reload
114 # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
115 bindcode $mod+Shift+27 restart
116 # exit i3 (logs you out of your X session)
117 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'"
119 # resize window (you can also use the mouse for that)
121 # These bindings trigger as soon as you enter the resize mode
123 # Pressing left will shrink the window’s width.
124 # Pressing right will grow the window’s width.
125 # Pressing up will shrink the window’s height.
126 # Pressing down will grow the window’s height.
127 bindcode 44 resize shrink width 10 px or 10 ppt
128 bindcode 45 resize grow height 10 px or 10 ppt
129 bindcode 46 resize shrink height 10 px or 10 ppt
130 bindcode 47 resize grow width 10 px or 10 ppt
132 # same bindings, but for the arrow keys
133 bindcode 113 resize shrink width 10 px or 10 ppt
134 bindcode 116 resize grow height 10 px or 10 ppt
135 bindcode 111 resize shrink height 10 px or 10 ppt
136 bindcode 114 resize grow width 10 px or 10 ppt
138 # back to normal: Enter or Escape
139 bindcode 36 mode "default"
140 bindcode 9 mode "default"
143 bindcode $mod+27 mode "resize"
145 # Start i3bar to display a workspace bar (plus the system information i3status
146 # finds out, if available)
148 status_command i3status