0
|
1 |
# This file has been auto-generated by i3-config-wizard(1).
|
|
2 |
# It will not be overwritten, so edit it as you like.
|
|
3 |
#
|
|
4 |
# Should you change your keyboard layout somewhen, delete
|
|
5 |
# this file and re-run i3-config-wizard(1).
|
|
6 |
#
|
|
7 |
|
|
8 |
# i3 config file (v4)
|
|
9 |
#
|
|
10 |
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
|
|
11 |
|
|
12 |
set $mod Mod4
|
|
13 |
|
|
14 |
# font for window titles. ISO 10646 = Unicode
|
|
15 |
font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
|
|
16 |
|
|
17 |
# Use Mouse+$mod to drag floating windows to their wanted position
|
|
18 |
floating_modifier $mod
|
|
19 |
|
|
20 |
# kill focused window
|
|
21 |
bindsym $mod+Shift+Q kill
|
|
22 |
|
|
23 |
|
|
24 |
# change focus
|
|
25 |
bindsym $mod+t focus left
|
|
26 |
bindsym $mod+s focus down
|
|
27 |
bindsym $mod+r focus up
|
|
28 |
bindsym $mod+n focus right
|
|
29 |
|
|
30 |
# alternatively, you can use the cursor keys:
|
|
31 |
bindsym $mod+Left focus left
|
|
32 |
bindsym $mod+Down focus down
|
|
33 |
bindsym $mod+Up focus up
|
|
34 |
bindsym $mod+Right focus right
|
|
35 |
|
|
36 |
# move focused window
|
|
37 |
bindsym $mod+Shift+T move left
|
|
38 |
bindsym $mod+Shift+S move down
|
|
39 |
bindsym $mod+Shift+R move up
|
|
40 |
bindsym $mod+Shift+N move right
|
|
41 |
bindsym $mod+Shift+Left move left
|
|
42 |
bindsym $mod+Shift+Down move down
|
|
43 |
bindsym $mod+Shift+Up move up
|
|
44 |
bindsym $mod+Shift+Right move right
|
|
45 |
|
|
46 |
# split in horizontal orientation
|
|
47 |
bindsym $mod+h split h
|
|
48 |
|
|
49 |
# split in vertical orientation
|
|
50 |
bindsym $mod+v split v
|
|
51 |
|
|
52 |
# enter fullscreen mode for the focused container
|
|
53 |
bindsym $mod+e fullscreen
|
|
54 |
|
|
55 |
# change container layout (stacked, tabbed, default)
|
|
56 |
bindsym $mod+u layout stacking
|
|
57 |
bindsym $mod+eacute layout tabbed
|
|
58 |
bindsym $mod+p layout default
|
|
59 |
|
|
60 |
# toggle tiling / floating
|
|
61 |
bindsym $mod+Shift+nobreakspace floating toggle
|
|
62 |
|
|
63 |
# change focus between tiling / floating windows
|
|
64 |
bindsym $mod+space focus mode_toggle
|
|
65 |
|
|
66 |
# focus the parent container
|
|
67 |
bindsym $mod+a focus parent
|
|
68 |
|
|
69 |
# focus the child container
|
|
70 |
#bindcode $mod+d focus child
|
|
71 |
|
|
72 |
# switch to workspace
|
|
73 |
bindsym $mod+quotedbl workspace 1
|
|
74 |
bindsym $mod+guillemotleft workspace 2
|
|
75 |
bindsym $mod+guillemotright workspace 3
|
|
76 |
bindsym $mod+parenleft workspace 4
|
|
77 |
bindsym $mod+parenright workspace 5
|
|
78 |
bindsym $mod+at workspace 6
|
|
79 |
bindsym $mod+plus workspace 7
|
|
80 |
bindsym $mod+minus workspace 8
|
|
81 |
bindsym $mod+slash workspace 9
|
|
82 |
bindsym $mod+asterisk workspace 10
|
|
83 |
|
|
84 |
# move focused container to workspace
|
|
85 |
bindsym $mod+Shift+1 move workspace 1
|
|
86 |
bindsym $mod+Shift+2 move workspace 2
|
|
87 |
bindsym $mod+Shift+3 move workspace 3
|
|
88 |
bindsym $mod+Shift+4 move workspace 4
|
|
89 |
bindsym $mod+Shift+5 move workspace 5
|
|
90 |
bindsym $mod+Shift+6 move workspace 6
|
|
91 |
bindsym $mod+Shift+7 move workspace 7
|
|
92 |
bindsym $mod+Shift+8 move workspace 8
|
|
93 |
bindsym $mod+Shift+9 move workspace 9
|
|
94 |
bindsym $mod+Shift+0 move workspace 10
|
|
95 |
|
|
96 |
# reload the configuration file
|
|
97 |
bindsym $mod+Shift+X reload
|
|
98 |
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
|
|
99 |
bindsym $mod+Shift+O restart
|
|
100 |
# exit i3 (logs you out of your X session)
|
|
101 |
bindsym $mod+Shift+P exit
|
|
102 |
|
|
103 |
# resize window (you can also use the mouse for that)
|
|
104 |
mode "resize" {
|
|
105 |
# These bindings trigger as soon as you enter the resize mode
|
|
106 |
|
|
107 |
# They resize the border in the direction you pressed, e.g.
|
|
108 |
# when pressing left, the window is resized so that it has
|
|
109 |
# more space on its left
|
|
110 |
|
|
111 |
bindsym t resize shrink left 10 px or 10 ppt
|
|
112 |
bindsym Shift+T resize grow left 10 px or 10 ppt
|
|
113 |
|
|
114 |
bindsym s resize shrink down 10 px or 10 ppt
|
|
115 |
bindsym Shift+S resize grow down 10 px or 10 ppt
|
|
116 |
|
|
117 |
bindsym r resize shrink up 10 px or 10 ppt
|
|
118 |
bindsym Shift+R resize grow up 10 px or 10 ppt
|
|
119 |
|
|
120 |
bindsym n resize shrink right 10 px or 10 ppt
|
|
121 |
bindsym Shift+N resize grow right 10 px or 10 ppt
|
|
122 |
|
|
123 |
# same bindings, but for the arrow keys
|
|
124 |
bindsym Left resize shrink left 10 px or 10 ppt
|
|
125 |
bindsym Shift+Left resize grow left 10 px or 10 ppt
|
|
126 |
|
|
127 |
bindsym Down resize shrink down 10 px or 10 ppt
|
|
128 |
bindsym Shift+Down resize grow down 10 px or 10 ppt
|
|
129 |
|
|
130 |
bindsym Up resize shrink up 10 px or 10 ppt
|
|
131 |
bindsym Shift+Up resize grow up 10 px or 10 ppt
|
|
132 |
|
|
133 |
bindsym Right resize shrink right 10 px or 10 ppt
|
|
134 |
bindsym Shift+Right resize grow right 10 px or 10 ppt
|
|
135 |
|
|
136 |
# back to normal: Enter or Escape
|
|
137 |
bindsym Return mode "default"
|
|
138 |
bindsym Escape mode "default"
|
|
139 |
}
|
|
140 |
|
|
141 |
bindsym $mod+o mode "resize"
|
|
142 |
|
|
143 |
# start programs
|
|
144 |
bindsym $mod+Ctrl+Return exec /usr/bin/dmenu_run
|
|
145 |
# bindsym $mod+Return exec /usr/bin/synapse
|
|
146 |
bindsym $mod+Shift+Return exec /usr/bin/x-terminal-emulator
|
|
147 |
|
|
148 |
# Start i3bar to display a workspace bar (plus the system information i3status
|
|
149 |
# finds out, if available)
|
|
150 |
exec gnome-settings-daemon
|
|
151 |
# exec xsetbg -fullscreen -onroot -border black themes/backgrounds/default.jpg
|
|
152 |
exec trayer --align right --height 18
|
|
153 |
exec i3status | i3bar -d
|
|
154 |
exec nm-applet
|
|
155 |
exec synapse -s
|