]> git.sur5r.net Git - i3/i3/blob - i3.config
Automatically call the migration script when the config does not look like v4
[i3/i3] / i3.config
1 # i3 config file (v4)
2 #
3 # This configuration file was written for the NEO layout. If you are using a
4 # different layout, you should change it.
5
6 # font for window titles. ISO 10646 = Unicode
7 font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
8
9 # use Mouse+Mod1 to drag floating windows to their wanted position
10 floating_modifier Mod1
11
12 # start a terminal
13 bindsym Mod1+Return exec /usr/bin/urxvt
14
15 # kill focused window
16 bindsym Mod1+c kill
17
18 # start dmenu (a program launcher)
19 bindsym Mod1+p exec /usr/bin/dmenu_run
20
21 # change focus
22 bindsym Mod1+n focus left
23 bindsym Mod1+r focus down
24 bindsym Mod1+t focus up
25 bindsym Mod1+d focus right
26
27 # alternatively, you can use the cursor keys:
28 bindsym Mod1+Left focus left
29 bindsym Mod1+Down focus down
30 bindsym Mod1+Up focus up
31 bindsym Mod1+Right focus right
32
33 # move focused window
34 bindsym Mod1+Shift+n move left
35 bindsym Mod1+Shift+r move down
36 bindsym Mod1+Shift+t move up
37 bindsym Mod1+Shift+d move right
38
39 # alternatively, you can use the cursor keys:
40 bindsym Mod1+Shift+Left move left
41 bindsym Mod1+Shift+Right move right
42 bindsym Mod1+Shift+Down move down
43 bindsym Mod1+Shift+Up move up
44
45 # split in horizontal orientation
46 bindsym Mod1+h split h
47
48 # split in vertical orientation
49 bindsym Mod1+v split v
50
51 # enter fullscreen mode for the focused container
52 bindsym Mod1+f fullscreen
53
54 # change container layout (stacked, tabbed, default)
55 bindsym Mod1+s layout stacking
56 bindsym Mod1+w layout tabbed
57 bindsym Mod1+l layout default
58
59 # toggle tiling / floating
60 bindsym Mod1+Shift+space floating toggle
61
62 # focus the parent container
63 bindsym Mod1+u focus parent
64
65 # focus the child container
66 #bindsym Mod1+d focus child
67
68 # switch to workspace
69 bindsym Mod1+1 workspace 1
70 bindsym Mod1+2 workspace 2
71 bindsym Mod1+3 workspace 3
72 bindsym Mod1+4 workspace 4
73 bindsym Mod1+5 workspace 5
74 bindsym Mod1+6 workspace 6
75 bindsym Mod1+7 workspace 7
76 bindsym Mod1+8 workspace 8
77 bindsym Mod1+9 workspace 9
78 bindsym Mod1+0 workspace 10
79
80 # move focused container to workspace
81 bindsym Mod1+Shift+1 move workspace 1
82 bindsym Mod1+Shift+2 move workspace 2
83 bindsym Mod1+Shift+3 move workspace 3
84 bindsym Mod1+Shift+4 move workspace 4
85 bindsym Mod1+Shift+5 move workspace 5
86 bindsym Mod1+Shift+6 move workspace 6
87 bindsym Mod1+Shift+7 move workspace 7
88 bindsym Mod1+Shift+8 move workspace 8
89 bindsym Mod1+Shift+9 move workspace 9
90 bindsym Mod1+Shift+0 move workspace 10
91
92 # reload the configuration file
93 bindsym Mod1+Shift+j reload
94 # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
95 bindsym Mod1+Shift+c restart
96 # exit i3 (logs you out of your X session)
97 bindsym Mod1+Shift+l exit