2 # Please see http://i3wm.org/docs/userguide.html for a complete reference!
4 # Font for window titles. Will also be used by the bar unless a different font
5 # is used in the bar {} block below.
9 # This font is widely installed, provides lots of unicode glyphs, right-to-left
10 # text rendering and scalability on retina/hidpi displays (thanks to pango).
11 #font pango:DejaVu Sans Mono 8
13 # Before i3 v4.8, we used to recommend this one as the default:
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, its unicode glyph coverage is limited, the old
17 # X core fonts rendering does not support right-to-left and this being a bitmap
18 # font, it doesn’t scale on retina/hidpi displays.
23 # use these keys for focus, movement, and resize directions
34 # use Mouse+$mod to drag floating windows to their wanted position
35 floating_modifier $mod
38 bindsym $mod+Return exec --no-startup-id i3-sensible-terminal
41 bindsym $mod+Shift+q kill
44 bindsym $mod+d exec --no-startup-id $HOME/bin/dmenu_runsmart -p "%"
47 bindsym $mod+$left focus left
48 bindsym $mod+$down focus down
49 bindsym $mod+$up focus up
50 bindsym $mod+$right focus right
51 bindsym $mod+$left2 focus left
52 bindsym $mod+$down2 focus down
53 bindsym $mod+$up2 focus up
54 bindsym $mod+$right2 focus right
57 bindsym $mod+Shift+$left move left
58 bindsym $mod+Shift+$down move down
59 bindsym $mod+Shift+$up move up
60 bindsym $mod+Shift+$right move right
61 bindsym $mod+Shift+$left2 move left
62 bindsym $mod+Shift+$down2 move down
63 bindsym $mod+Shift+$up2 move up
64 bindsym $mod+Shift+$right2 move right
66 # split in horizontal orientation
67 bindsym $mod+i split h
69 # split in vertical orientation
70 bindsym $mod+o split v
72 # enter fullscreen mode for the focused container
73 bindsym $mod+f fullscreen toggle
74 bindsym $mod+Shift+f fullscreen toggle global
76 # change container layout (stacked, tabbed, toggle split)
77 bindsym $mod+s layout stacking
78 bindsym $mod+w layout tabbed
79 bindsym $mod+e layout toggle split
81 # toggle tiling / floating
82 bindsym $mod+Shift+space floating toggle
84 # change focus between tiling / floating windows
85 bindsym $mod+space focus mode_toggle
87 # focus the parent container
88 bindsym $mod+a focus parent
90 # focus the child container
91 bindsym $mod+z focus child
93 # move the currently focused window to the scratchpad
94 bindsym $mod+Shift+minus move scratchpad
96 # Show the next scratchpad window or hide the focused scratchpad window.
97 # If there are multiple scratchpad windows, this command cycles through them.
98 bindsym $mod+minus scratchpad show
100 # switch to workspace
101 bindsym $mod+1 workspace 1
102 bindsym $mod+2 workspace 2
103 bindsym $mod+3 workspace 3
104 bindsym $mod+4 workspace 4
105 bindsym $mod+5 workspace 5
106 bindsym $mod+6 workspace 6
107 bindsym $mod+7 workspace 7
108 bindsym $mod+8 workspace 8
109 bindsym $mod+9 workspace 9
110 bindsym $mod+0 workspace 10
112 # move focused container to workspace
113 bindsym $mod+Shift+1 move container to workspace 1
114 bindsym $mod+Shift+2 move container to workspace 2
115 bindsym $mod+Shift+3 move container to workspace 3
116 bindsym $mod+Shift+4 move container to workspace 4
117 bindsym $mod+Shift+5 move container to workspace 5
118 bindsym $mod+Shift+6 move container to workspace 6
119 bindsym $mod+Shift+7 move container to workspace 7
120 bindsym $mod+Shift+8 move container to workspace 8
121 bindsym $mod+Shift+9 move container to workspace 9
122 Bindsym $mod+Shift+0 move container to workspace 10
124 # reload the configuration file
125 bindsym $mod+Shift+c reload
127 bindsym $mod+Shift+r restart
129 bindsym $mod+Shift+e exec --no-startup-id i3-nagbar -t warning -m Exit? -b Yes 'i3-msg exit'
131 # x220t bezel buttons
132 bindcode 198 exec --no-startup-id rotate set normal
133 bindcode 204 exec --no-startup-id rotate right
136 bindsym XF86AudioPlay exec --no-startup-id mpc -h /var/mpd/socket play
137 bindsym XF86AudioStop exec --no-startup-id mpc -h /var/mpd/socket pause
138 bindsym XF86AudioPrev exec --no-startup-id mpc -h /var/mpd/socket cdprev
139 bindsym XF86AudioNext exec --no-startup-id mpc -h /var/mpd/socket next
141 # move and resize [floating] windows
143 bindsym $left resize shrink width 20 px
144 bindsym $down resize grow height 20 px
145 bindsym $up resize shrink height 20 px
146 bindsym $right resize grow width 20 px
147 bindsym $left2 resize shrink width 20 px
148 bindsym $down2 resize grow height 20 px
149 bindsym $up2 resize shrink height 20 px
150 bindsym $right2 resize grow width 20 px
152 bindsym Shift+$left move left 20 px
153 bindsym Shift+$down move down 20 px
154 bindsym Shift+$up move up 20 px
155 bindsym Shift+$right move right 20 px
156 bindsym Shift+$left2 move left 20 px
157 bindsym Shift+$down2 move down 20 px
158 bindsym Shift+$up2 move up 20 px
159 bindsym Shift+$right2 move right 20 px
162 bindsym Control+$left resize shrink width 1 px or 1 ppt
163 bindsym Control+$down resize grow height 1 px or 1 ppt
164 bindsym Control+$up resize shrink height 1 px or 1 ppt
165 bindsym Control+$right resize grow width 1 px or 1 ppt
166 bindsym Control+$left2 resize shrink width 1 px or 1 ppt
167 bindsym Control+$down2 resize grow height 1 px or 1 ppt
168 bindsym Control+$up2 resize shrink height 1 px or 1 ppt
169 bindsym Control+$right2 resize grow width 1 px or 1 ppt
171 bindsym Control+Shift+$left move left 1 px
172 bindsym Control+Shift+$down move down 1 px
173 bindsym Control+Shift+$up move up 1 px
174 bindsym Control+Shift+$right move right 1 px
175 bindsym Control+Shift+$left2 move left 1 px
176 bindsym Control+Shift+$down2 move down 1 px
177 bindsym Control+Shift+$up2 move up 1 px
178 bindsym Control+Shift+$right2 move right 1 px
180 # toggle tiling / floating
181 bindsym $mod+Shift+space floating toggle
183 # change focus between tiling / floating windows
184 bindsym $mod+space focus mode_toggle
186 # focus the parent container
187 bindsym $mod+a focus parent
189 # focus the child container
190 bindsym $mod+z focus child
192 # back to normal: Enter, Escape, or original key
193 bindsym Return mode default
194 bindsym Escape mode default
195 bindsym $mod+r mode default
197 bindsym $mod+r mode "translate"
200 for_window [class="Gsimplecal"] floating enable
201 for_window [class="XMixer"] floating enable
204 hide_edge_borders smart
210 workspace_auto_back_and_forth yes
211 force_display_urgency_hint 2000 ms
246 status_command i3status
254 # class border backgr. text
255 focused_workspace $f_bdr $f_bg $f_fg
256 active_workspace $i_bdr $i_bg $i_fg
257 inactive_workspace $i_bdr $i_bg $i_fg
258 urgent_workspace $u_bdr $u_bg $u_fg
259 binding_mode $b_bdr $b_bg $b_fg
264 # class border backgr. text indicator child_border
265 client.focused $f_bdr $f_bg $f_fg $f_ind $f_chb
266 client.focused_inactive $i_bdr $i_bg $i_fg $i_ind $i_chb
267 client.unfocused $i_bdr $i_bg $i_fg $i_ind $i_chb
268 client.urgent $u_bdr $u_bg $u_fg $u_ind $u_chb
269 client.placeholder $b_bdr $b_bg $b_fg $b_ind $b_chb
271 client.background #221100