|
@@ -1,32 +1,15 @@
|
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
|
1
|
|
8
|
|
-# i3 config file (v4)
|
9
|
|
-#
|
10
|
|
-# Please see http://i3wm.org/docs/userguide.html for a complete reference!
|
|
2
|
+#------------------------------------------------------------------------#
|
|
3
|
+## Basically basic ##
|
|
4
|
+#------------------------------------------------------------------------#
|
11
|
5
|
|
12
|
6
|
set $spn SHELLFU_PRETTY=notify
|
13
|
7
|
set $mod Mod4
|
14
|
8
|
|
15
|
|
-# Font for window titles. Will also be used by the bar unless a different font
|
16
|
|
-# is used in the bar {} block below.
|
17
|
|
-# This font is widely installed, provides lots of unicode glyphs, right-to-left
|
18
|
|
-# text rendering and scalability on retina/hidpi displays (thanks to pango).
|
19
|
|
-font pango:DejaVu Sans Mono 11
|
20
|
|
-#font -*-terminus-medium-r-*-*-16-*-*-*-*-*-*-*
|
21
|
|
-# Before i3 v4.8, we used to recommend this one as the default:
|
22
|
|
-# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
|
23
|
|
-# The font above is very space-efficient, that is, it looks good, sharp and
|
24
|
|
-# clear in small sizes. However, its unicode glyph coverage is limited, the old
|
25
|
|
-# X core fonts rendering does not support right-to-left and this being a bitmap
|
26
|
|
-# font, it doesn’t scale on retina/hidpi displays.
|
27
|
|
-
|
28
|
|
-# Use Mouse+$mod to drag floating windows to their wanted position
|
29
|
9
|
floating_modifier $mod
|
|
10
|
+mouse_warping none
|
|
11
|
+hide_edge_borders vertical
|
|
12
|
+font pango:DejaVu Sans Mono 11
|
30
|
13
|
|
31
|
14
|
# change focus
|
32
|
15
|
bindsym $mod+h focus left
|
|
@@ -119,7 +102,13 @@ bindsym $mod+Shift+Page_Down move container to workspace next_on_output
|
119
|
102
|
bindsym $mod+Shift+Tab move scratchpad
|
120
|
103
|
bindsym $mod+Tab scratchpad show
|
121
|
104
|
|
122
|
|
-# mark mode
|
|
105
|
+bindsym $mod+Shift+r restart
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+#------------------------------------------------------------------------#
|
|
109
|
+## Maybe Modes ##
|
|
110
|
+#------------------------------------------------------------------------#
|
|
111
|
+
|
123
|
112
|
bindsym $mod+backslash mode "mark"
|
124
|
113
|
|
125
|
114
|
mode "mark" {
|
|
@@ -169,13 +158,6 @@ mode "mark" {
|
169
|
158
|
bindsym Return mode "default"
|
170
|
159
|
}
|
171
|
160
|
|
172
|
|
-
|
173
|
|
-# reload the configuration file
|
174
|
|
-#bindsym $mod+Shift+c reload
|
175
|
|
-# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
|
176
|
|
-bindsym $mod+Shift+r restart
|
177
|
|
-
|
178
|
|
-
|
179
|
161
|
bindsym $mod+r mode "resize"
|
180
|
162
|
mode "resize" {
|
181
|
163
|
bindsym Left resize shrink width 200 px or 12 ppt
|
|
@@ -191,8 +173,6 @@ mode "resize" {
|
191
|
173
|
bindsym Escape mode "default"
|
192
|
174
|
}
|
193
|
175
|
|
194
|
|
-# Start i3bar to display a workspace bar (plus the system information i3status
|
195
|
|
-# finds out, if available)
|
196
|
176
|
bar {
|
197
|
177
|
status_command i3status
|
198
|
178
|
bindsym button2 exec thunar
|
|
@@ -202,17 +182,6 @@ bar {
|
202
|
182
|
# ‧•┇╻╹╹╿═╎╏◆◾║︙⎪∣∕⟘⟙∙∼⦀⦑⦒⦚⧸⧹▓▒░⧻⧺┆˘͡͡ːˌ˷|・፧።
|
203
|
183
|
}
|
204
|
184
|
|
205
|
|
-# bar {
|
206
|
|
-# id sardine-moc
|
207
|
|
-# position top
|
208
|
|
-# workspace_buttons no
|
209
|
|
-# tray_output none
|
210
|
|
-# binding_mode_indicator no
|
211
|
|
-# status_command ~/.i3/bin/13bar-sardine-moc
|
212
|
|
-# }
|
213
|
|
-# bindsym $mod+minus bar mode toggle sardine-moc
|
214
|
|
-
|
215
|
|
-# show CapsLock state in statusbar
|
216
|
185
|
bindsym Caps_Lock mode "caps"
|
217
|
186
|
bindsym Shift+Caps_Lock mode "caps"
|
218
|
187
|
bindsym Ctrl+Caps_Lock mode "caps"
|
|
@@ -224,59 +193,79 @@ mode "caps" {
|
224
|
193
|
bindsym $mod+Caps_Lock mode "default"
|
225
|
194
|
}
|
226
|
195
|
|
|
196
|
+#------------------------------------------------------------------------#
|
|
197
|
+## Openers ##
|
|
198
|
+#------------------------------------------------------------------------#
|
227
|
199
|
|
228
|
|
-### MINE
|
229
|
200
|
bindsym $mod+Return exec "urxvt"
|
230
|
201
|
bindsym $mod+Shift+Return exec "xfce4-terminal"
|
|
202
|
+bindsym $mod+Home exec "$spn bmo menu home"
|
|
203
|
+bindsym $mod+Shift+Home exec "thunar"
|
|
204
|
+bindsym $mod+p exec "$spn bmo menu run"
|
|
205
|
+bindsym $mod+Shift+p exec "$spn bmo menu run_hist"
|
|
206
|
+
|
|
207
|
+#------------------------------------------------------------------------#
|
|
208
|
+## WWW magic mind readers ##
|
|
209
|
+#------------------------------------------------------------------------#
|
|
210
|
+
|
231
|
211
|
bindsym $mod+b exec "$spn bmo uris -1 | head -1 | bmo xuris -a"
|
232
|
212
|
bindsym $mod+c exec "$spn bmo uris -1 | head -1 | bmo xuris -a -c"
|
233
|
213
|
bindsym $mod+Shift+b exec "$spn bmo uris -1 | bmo xuris"
|
234
|
214
|
bindsym $mod+Shift+c exec "$spn bmo uris -1 | bmo xuris -c"
|
235
|
215
|
bindsym $mod+i exec "$spn bmo menu uris"
|
236
|
216
|
bindsym $mod+Shift+i exec "$spn bmo menu www_hist"
|
237
|
|
-bindsym $mod+d exec xbacklight -dec 49
|
238
|
|
-bindsym $mod+Shift+d exec xbacklight -inc 5
|
239
|
217
|
bindsym $mod+q exec "$spn bmo clip cat | sed 's/^/g /' | bmo uris | bmo xuris"
|
240
|
218
|
bindsym $mod+Shift+q exec "$spn bmo clip cat | perl -ne '$a=qx(bmo menu query); chomp $a; print qq/$a $_/' | bmo uris | bmo xuris"
|
241
|
219
|
#FIXME: ^^^ this is really uuuugggglyyyy
|
|
220
|
+bindsym $mod+t exec "acclive"
|
242
|
221
|
|
243
|
|
-bindsym $mod+Escape exec "$spn bmo iam afk"
|
244
|
|
-bindsym $mod+Shift+Escape exec "$spn bmo iam gone"
|
245
|
222
|
|
246
|
|
-bindsym $mod+Home exec "$spn bmo menu home"
|
247
|
|
-bindsym $mod+Shift+Home exec "thunar"
|
|
223
|
+#------------------------------------------------------------------------#
|
|
224
|
+## Killers ##
|
|
225
|
+#------------------------------------------------------------------------#
|
|
226
|
+
|
|
227
|
+bindsym $mod+Delete kill
|
|
228
|
+bindsym $mod+Shift+Delete 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-msg exit'"
|
248
|
229
|
|
249
|
|
-bindsym $mod+Insert exec "$spn bmo clip save"
|
250
|
|
-bindsym $mod+Shift+Insert exec "$spn bmo clip open"
|
|
230
|
+#------------------------------------------------------------------------#
|
|
231
|
+## Desktop states ##
|
|
232
|
+#------------------------------------------------------------------------#
|
251
|
233
|
|
|
234
|
+bindsym $mod+Escape exec "$spn bmo iam afk"
|
|
235
|
+bindsym $mod+Shift+Escape exec "$spn bmo iam gone"
|
252
|
236
|
bindsym $mod+m exec "$spn bmo menu status"
|
253
|
237
|
bindsym $mod+Shift+m exec "i3-dmenu-desktop --dmenu='bmo dmenu'"
|
254
|
238
|
bindsym $mod+o exec "$spn bmo menu context"
|
255
|
239
|
bindsym $mod+Shift+o exec "task context none"
|
256
|
|
-bindsym $mod+p exec "$spn bmo menu run"
|
257
|
|
-bindsym $mod+Shift+p exec "$spn bmo menu run_hist"
|
258
|
240
|
|
259
|
|
-bindsym $mod+t exec "acclive"
|
260
|
241
|
|
261
|
|
-# Note: 57 translates to 'N' so these are basically $mod+n abd $mod+Shift+n
|
262
|
|
-bindcode $mod+57 exec "$spn bmo kb next"
|
263
|
|
-bindcode $mod+Shift+57 exec "$spn bmo kb home"
|
|
242
|
+#------------------------------------------------------------------------#
|
|
243
|
+## Desktop-ey other stuff ##
|
|
244
|
+#------------------------------------------------------------------------#
|
264
|
245
|
|
265
|
|
-bindsym XF86AudioRaiseVolume exec "$spn bmo au up"
|
266
|
|
-bindsym XF86AudioLowerVolume exec "$spn bmo au down"
|
267
|
|
-bindsym XF86AudioMute exec "$spn bmo au flip"
|
|
246
|
+bindcode $mod+57 exec "$spn bmo kb next" # 57 translates to 'N' so these are basically $mod+n abd $mod+Shift+n
|
|
247
|
+bindcode $mod+Shift+57 exec "$spn bmo kb home"
|
|
248
|
+bindsym $mod+Insert exec "$spn bmo clip save"
|
|
249
|
+bindsym $mod+Shift+Insert exec "$spn bmo clip open"
|
|
250
|
+bindsym $mod+d exec "xbacklight -dec 49"
|
|
251
|
+bindsym $mod+Shift+d exec "xbacklight -inc 5"
|
|
252
|
+bindsym XF86AudioRaiseVolume exec "$spn bmo au up"
|
|
253
|
+bindsym XF86AudioLowerVolume exec "$spn bmo au down"
|
|
254
|
+bindsym XF86AudioMute exec "$spn bmo au flip"
|
268
|
255
|
|
269
|
|
-bindsym $mod+Delete kill
|
270
|
|
-bindsym $mod+Shift+Delete 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-msg exit'"
|
271
|
|
-
|
272
|
|
-mouse_warping none
|
273
|
|
-
|
274
|
|
-hide_edge_borders vertical
|
275
|
256
|
|
|
257
|
+#------------------------------------------------------------------------#
|
|
258
|
+## Less smart apps ##
|
|
259
|
+#------------------------------------------------------------------------#
|
276
|
260
|
|
277
|
261
|
for_window [class="Shutter"] floating enable
|
278
|
262
|
for_window [class="Orage"] floating enable
|
279
|
263
|
|
|
264
|
+
|
|
265
|
+#------------------------------------------------------------------------#
|
|
266
|
+## autoexec.bat ##
|
|
267
|
+#------------------------------------------------------------------------#
|
|
268
|
+
|
280
|
269
|
exec "newfeh"
|
281
|
270
|
exec "dunst"
|
282
|
271
|
exec "owncloud"
|