summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMax Christian Pohle2016-09-22 09:49:19 +0200
committerMax Christian Pohle2016-09-22 09:49:19 +0200
commit20f136b814faa2baf5e96b2c1d31b02903540429 (patch)
treea39dc4e5bb2d64b6a5cf4ea507ae7cb1f3b75840 /config
downloadi3-20f136b814faa2baf5e96b2c1d31b02903540429.tar.bz2
i3-20f136b814faa2baf5e96b2c1d31b02903540429.zip
default key bindings
vim default movement keys alt+f4, alt+f2 and toggles tiling side with $mod+space
Diffstat (limited to 'config')
-rw-r--r--config250
1 files changed, 250 insertions, 0 deletions
diff --git a/config b/config
new file mode 100644
index 0000000..d613e14
--- /dev/null
+++ b/config
@@ -0,0 +1,250 @@
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 some time, 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
12set $mod Mod4
13
14# Font for window titles. Will also be used by the bar unless a different font
15# is used in the bar {} block below
16# font pango:monospace 12
17
18# This font is widely installed, provides lots of unicode glyphs, right-to-left
19# text rendering and scalability on retina/hidpi displays (thanks to pango).
20font pango:Neris SemiBold 11
21# font pango:DejaVu Sans Mono 12
22
23# Before i3 v4.8, we used to recommend this one as the default:
24# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
25# The font above is very space-efficient, that is, it looks good, sharp and
26# clear in small sizes. However, its unicode glyph coverage is limited, the old
27# X core fonts rendering does not support right-to-left and this being a bitmap
28# font, it doesn’t scale on retina/hidpi displays.
29
30# Use Mouse+$mod to drag floating windows to their wanted position
31floating_modifier $mod
32
33# start a terminal
34# bindsym $mod+Return exec i3-sensible-terminal
35bindsym $mod+Return exec xfce4-terminal
36bindsym $mod+t exec xfce4-terminal
37bindsym $mod+e exec thunar
38
39# kill focused window
40bindsym $mod+Shift+q kill
41bindsym Mod1+F4 kill
42
43# start dmenu (a program launcher)
44# bindsym $mod+d exec dmenu_run
45# There also is the (new) i3-dmenu-desktop which only displays applications
46# shipping a .desktop file. It is a wrapper around dmenu, so you need that
47# installed.
48# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
49bindsym $mod+d exec --no-startup-id j4-dmenu-desktop
50bindsym Mod1+F2 exec --no-startup-id j4-dmenu-desktop
51
52
53
54# alternatively, you can use the cursor keys:
55bindsym $mod+Left focus left
56bindsym $mod+Down focus down
57bindsym $mod+Up focus up
58bindsym $mod+Right focus right
59
60
61# alternatively, you can use the cursor keys:
62bindsym $mod+Shift+Left move left
63bindsym $mod+Shift+Down move down
64bindsym $mod+Shift+Up move up
65bindsym $mod+Shift+Right move right
66
67# split in horizontal orientation
68# bindsym $mod+h split h
69
70# split in vertical orientation
71# bindsym $mod+v split v
72
73# enter fullscreen mode for the focused container
74bindsym $mod+f fullscreen toggle
75
76# change container layout (stacked, tabbed, toggle split)
77bindsym $mod+s layout stacking
78bindsym $mod+w layout tabbed
79bindsym $mod+q layout toggle split
80
81# toggle tiling / floating
82bindsym $mod+Shift+space floating toggle
83
84# change focus between tiling / floating windows
85# bindsym $mod+space focus mode_toggle
86
87# focus the parent container
88bindsym $mod+a focus parent
89
90# focus the child container
91#bindsym $mod+d focus child
92
93workspace 1 output VGA1
94
95# switch to workspace
96bindsym $mod+1 workspace 1
97bindsym $mod+2 workspace 2
98bindsym $mod+3 workspace 3
99bindsym $mod+4 workspace 4
100bindsym $mod+5 workspace 5
101bindsym $mod+6 workspace 6
102bindsym $mod+7 workspace 7
103bindsym $mod+8 workspace 8
104bindsym $mod+9 workspace 9
105bindsym $mod+0 workspace 10
106
107# move focused container to workspace
108bindsym $mod+Shift+1 move container to workspace 1
109bindsym $mod+Shift+2 move container to workspace 2
110bindsym $mod+Shift+3 move container to workspace 3
111bindsym $mod+Shift+4 move container to workspace 4
112bindsym $mod+Shift+5 move container to workspace 5
113bindsym $mod+Shift+6 move container to workspace 6
114bindsym $mod+Shift+7 move container to workspace 7
115bindsym $mod+Shift+8 move container to workspace 8
116bindsym $mod+Shift+9 move container to workspace 9
117bindsym $mod+Shift+0 move container to workspace 10
118
119# reload the configuration file
120bindsym $mod+Shift+c reload
121# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
122bindsym $mod+Shift+r restart
123# exit i3 (logs you out of your X session)
124bindsym $mod+Shift+e 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'"
125
126
127bindsym $mod+m move scratchpad
128bindsym $mod+Shift+m scratchpad show ; resize set 1920 920 ; move position center
129
130for_window [class="^.*"] border pixel 8
131# smart_borders on
132# gaps inner 8
133# gaps outer 8
134
135# resize window (you can also use the mouse for that)
136# mode "resize" {
137# # These bindings trigger as soon as you enter the resize mode
138#
139# # Pressing left will shrink the window’s width.
140# # Pressing right will grow the window’s width.
141# # Pressing up will shrink the window’s height.
142# # Pressing down will grow the window’s height.
143# bindsym j resize shrink width 10 px or 10 ppt
144# bindsym k resize grow height 10 px or 10 ppt
145# bindsym l resize shrink height 10 px or 10 ppt
146# bindsym semicolon resize grow width 10 px or 10 ppt
147#
148# # same bindings, but for the arrow keys
149# bindsym Left resize shrink width 10 px or 10 ppt
150# bindsym Down resize grow height 10 px or 10 ppt
151# bindsym Up resize shrink height 10 px or 10 ppt
152# bindsym Right resize grow width 10 px or 10 ppt
153#
154# # back to normal: Enter or Escape
155# bindsym Return mode "default"
156# bindsym Escape mode "default"
157# }
158
159bindsym $mod+r mode "resize"
160
161# Start i3bar to display a workspace bar (plus the system information i3status
162# finds out, if available)
163bar {
164 status_command i3status --config ~/.config/i3/i3status.conf
165 colors {
166 background #061229
167 statusline #ffffff
168 }
169 # tray_output VGA1
170 tray_padding 4
171 # font pango:DejaVu Sans Mono 12
172 # separator_symbol "┋"
173 position top
174 # output VGA1
175 binding_mode_indicator yes
176}
177
178client.focused #ffffff #061229 #ffffff #5299BF #ffffff
179# client.unfocused #000000 #061229 #000000 #ff0000 #000000
180
181bindsym $mod+F2 exec i3-input -F 'rename workspace to "%s"' -P 'New name: '
182bindsym Control+Mod1+Left workspace prev_on_output
183bindsym Control+Mod1+Right workspace next_on_output
184
185# change focus
186# bindsym $mod+j focus left
187# bindsym $mod+k focus down
188# bindsym $mod+l focus up
189# bindsym $mod+semicolon focus right
190#
191# move focused window
192# bindsym $mod+Shift+j move left
193# bindsym $mod+Shift+k move down
194# bindsym $mod+Shift+l move up
195# bindsym $mod+Shift+semicolon move right
196
197# change focus
198bindsym $mod+h focus left
199bindsym $mod+j focus down
200bindsym $mod+k focus up
201bindsym $mod+l focus right
202
203# move focused window
204bindsym $mod+Shift+h move left
205bindsym $mod+Shift+j move down
206bindsym $mod+Shift+k move up
207bindsym $mod+Shift+l move right
208
209# split in horizontal orientation
210# bindsym $mod+Shift+v split h
211
212# split in vertical orientation
213# bindsym $mod+v split v
214bindsym $mod+v split toggle
215bindsym $mod+space split toggle
216
217
218# resize window (you can also use the mouse for that)
219mode "resize" {
220 # These bindings trigger as soon as you enter the resize mode
221
222 # Pressing left will shrink the window’s width.
223 # Pressing right will grow the window’s width.
224 # Pressing up will shrink the window’s height.
225 # Pressing down will grow the window’s height.
226 bindsym $mod+h resize shrink width 10 px or 10 ppt
227 bindsym $mod+j resize grow height 10 px or 10 ppt
228 bindsym $mod+k resize shrink height 10 px or 10 ppt
229 bindsym $mod+l resize grow width 10 px or 10 ppt
230
231 # same bindings, but for the arrow keys
232 bindsym Left resize shrink width 10 px or 10 ppt
233 bindsym Down resize grow height 10 px or 10 ppt
234 bindsym Up resize shrink height 10 px or 10 ppt
235 bindsym Right resize grow width 10 px or 10 ppt
236
237 # back to normal: Enter or Escape
238 bindsym Return mode "default"
239 bindsym Escape mode "default"
240}
241
242
243
244
245exec --no-startup-id dbus-launch gnome-settings-daemon
246exec --no-startup-id dbus-launch nm-applet
247exec --no-startup-id dbus-launch nextcloud
248exec --no-startup-id nitrogen --restore
249exec --no-startup-id setxkbmap -option caps:escape
250exec xset r rate 330 75
..