-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig
377 lines (299 loc) · 11.8 KB
/
config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
#I3 Config (Gabriel Rodrigues)
#
#
#Needed for i3-gaps
hide_edge_borders both
for_window [class="^.*"] border pixel 0
gaps inner 15
gaps outer 15
#Basic settings
set $mod Mod4
floating_modifier $mod
set $term termite
exec --no-startup-id xcompmgr
set $browser iceweasel
set $screencast ffmpeg -y -f x11grab -video_size 1280x800 -i :0.0 -f alsa -i default -c:v ffvhuff -r 30 -c:a flac output.mkv
set $audio ffmpeg -f alsa -i default -c:a flac -y output.flac
set $mail icedove
#font pango:LiberationMono Sans Mono, Icons 11
font pango:envypn 11
exec --no-startup-id nm-applet
#My background is always in ~/.config/wall.png. I have a shortcut in my file manager (ranger) that will automatically move a selected file here, so I can change by background on the go.
exec_always --no-startup-id feh --bg-scale ~/.config/wall.png
exec tint2;
exec pamac-updater;
bar {
status_command conky -c /home/gab/.config/i3/conkyrc
mode dock
position top
font pango:open sans 7.8
strip_workspace_numbers yes
colors {
background #daf1ff
statusline #000000
separator #51c4d4
focused_workspace #daf1ff #daf1ff #1E90FF
active_workspace #daf1ff #daf1ff #1E90FF
inactive_workspace #daf1ff #daf1ff #000000
urgent_workspace #daf1ff #daf1ff #DC143C
}
}
#Start ROFI
bindsym $mod+d exec rofi -show run -font "inconsolate 12" -fg "#ecedee" -bg "#1D1E24" -hlfg "#ecedee" -hlbg "#394959" -o 100 -lines 9 -width 100 -padding 400 -opacity 0 -separator-style none
bindsym $mod+Return exec $term;
#bindsym $mod+Shift+Return exec $term -e tmux
bindsym $mod+Shift+space floating toggle
bindsym $mod+space focus mode_toggle
bindsym $mod+Escape exec --no-startup-id xset -display :0.0 dpms force off
bindsym $mod+Shift+Escape exec i3-msg exit
#bindsym $mod+BackSpace exec $term
bindsym $mod+Shift+BackSpace exec reboot
bindsym $mod+Tab workspace back_and_forth
#bindsym $mod+grave
#bindsym $mod+asciitilde
#bindsym $mod+XF86Back
#bindsym $mod+Shift+XF86Back
#bindsym $mod+XF86Forward
#bindsym $mod+Shift+XF86Forward
#END
#Letter Keys
bindsym $mod+q kill
bindsym $mod+Shift+q kill
bindsym $mod+w exec qutebrowser
bindsym $mod+Shift+w exec --no-startup-id $browser
bindsym $mod+e exec $term -e mutt
bindsym $mod+Shift+e exec $mail
bindsym $mod+r exec $term -e ranger;
bindsym $mod+Shift+r restart
#bindsym $mod+t split toggle
bindsym $mod+Shift+t gaps inner all set 15; gaps outer all set 15
#bindsym $mod+y exec
bindsym $mod+Shift+F10 resize shrink width 10 px or 10ppt
#bindsym $mod+u
bindsym $mod+Shift+u resize shrink height 10 px or 10 ppt
bindsym $mod+i exec $term -e htop
bindsym $mod+Shift+i resize grow height 10 px or 10 ppt
bindsym $mod+o exec --no-startup-id mocp -j bindsym $mod+Shift+F9 resize grow width 10 px or 10 ppt
bindsym $mod+p exec popcorntime
#bindsym $mod+Shift+p exec pinta
#bindsym $mod+a exec $term -e qalc
bindsym $mod+Shift+a exec anki; workspace $ws1
bindsym $mod+s gaps inner current plus 5
bindsym $mod+Shift+s gaps inner current minus 5
#bindsym $mod+d exec rofi -show run
bindsym $mod+Shift+d gaps inner all set 0; gaps outer all set 0
bindsym $mod+f fullscreen toggle
#bindsym $mod+Shift+f exec thunar
bindsym $mod+g exec --no-startup-id gimp; workspace $ws5
#bindsym $mod+Shift+g exec
bindsym $mod+h focus left
bindsym $mod+Shift+h move left 30
bindsym $mod+j focus down
bindsym $mod+Shift+j move down 30
bindsym $mod+k focus up
bindsym $mod+Shift+k move up 30
bindsym $mod+l focus right
bindsym $mod+Shift+l move right 30
bindsym $mod+z gaps outer current plus 5
bindsym $mod+Shift+z gaps outer current minus 5
bindsym $mod+x exec ~/.config/i3/lock.sh
bindsym $mod+Shift+x exec shutdown now
bindsym $mod+c split toggle
bindsym $mod+Shift+c reload
#bindsym $mod+v exec $term -e vis
bindsym $mod+Shift+v exec --no-startup-id projectM-pulseaudio
#bindsym $mod+b exec --no-startup-id mocp -r
#bindsym $mod+Shift+b exec --no-startup-id blender; workspace $ws6
#bindsym $mod+n exec --no-startup-id mocp -f
#bindsym $mod+Shift+n exec java -Xmx256m -Xms64m -jar ~/.config/TreeForm/TreeForm.jar
#bindsym $mod+m exec $term -e mocp
#bindsym $mod+Shift+m exec --no-startup-id pamixer -t
#END
#Function Buttons
#bindsym F1 exec --no-startup-id echo "help" > /dev/null
#bindsym F2
#bindsym F3
#bindsym F4
#bindsym F5
#bindsym F6
#bindsym F7
#bindsym F8
#bindsym F9
#bindsym F10
bindsym F11 fullscreen toggle
#bindsym F12
bindsym $mod+F1 exec
#bindsym $mod+F2
bindsym $mod+F3 exec arandr
bindsym $mod+F4 exec sudo systemctl suspend
bindsym $mod+F5 exec sudo systemctl restart NetworkManager
#bindsym $mod+F6
#bindsym $mod+F7
#bindsym $mod+F8
bindsym $mod+F9 exec udiskie
bindsym $mod+F10 exec -no-startup-id udiskie-umount
#bindsym $mod+F11
#bindsym $mod+F12
#Arrow Keys
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
#END
#Workspaces
set $ws1 "1: "
set $ws2 "2: "
set $ws3 "3: "
set $ws4 "4: "
set $ws5 "5: "
set $ws6 "6: "
set $ws7 "7: "
set $ws8 "8: "
set $ws9 "9: "
set $ws10 "10: "
# switch to workspace
bindsym $mod+1 workspace $ws1
bindsym $mod+2 workspace $ws2
bindsym $mod+3 workspace $ws3
bindsym $mod+4 workspace $ws4
bindsym $mod+5 workspace $ws5
bindsym $mod+6 workspace $ws6
bindsym $mod+7 workspace $ws7
bindsym $mod+8 workspace $ws8
bindsym $mod+9 workspace $ws9
bindsym $mod+0 workspace $ws10
# move focused container to workspace
bindsym $mod+Shift+1 move container to workspace $ws1
bindsym $mod+Shift+2 move container to workspace $ws2
bindsym $mod+Shift+3 move container to workspace $ws3
bindsym $mod+Shift+4 move container to workspace $ws4
bindsym $mod+Shift+5 move container to workspace $ws5
bindsym $mod+Shift+6 move container to workspace $ws6
bindsym $mod+Shift+7 move container to workspace $ws7
bindsym $mod+Shift+8 move container to workspace $ws8
bindsym $mod+Shift+9 move container to workspace $ws9
bindsym $mod+Shift+0 move container to workspace $ws10
#for_window [title="Anki"] move to workspace $ws9; move left
for_window [title="Power Point"] move to workspace $ws6;
for_window [title="Excel"] move to workspace $ws6;
for_window [title="Agar.io"] kill
for_window [title="diep.io"] kill
for_window [title="mope.io"] kill
for_window [title="slither.io"] kill
for_window [title="splix.io"] kill
for_window [title="slither.io"] kill
for_window [title="brutal.io"] kill
for_window [title="Adicionar"] move to workspace $ws1; move left
for_window [title="Caja"] move to workspace $ws6; gaps inner set 0; gaps outer set 0
for_window [title="Popcorn Time"] move to workspace $ws8;
#for_window [title="Shutter"]
for_window [title="Chromium"] move to workspace $ws2;
for_window [title="Spotify"] move to workspace $ws3;
for_window [title="pamac-manager"] move to workspace $ws7;
for_window [title="Atril"] move to workspace $ws10
for_window [title="Terminal"] move to workspace $ws4
for_window [class="Icedove"] move to workspace $ws9
for_window [class="Iceweasel"] move to workspace $ws2
for_window [title="GIMP Startup"] move workspace $ws5
for_window [title="gimp-dock"] floating disable; move left; layout stacking; resize shrink width 31 px or 31ppt
for_window [title="gimp-toolbox"] floating disable; move right; resize grow width 30 px or 30ppt
for_window [window_role="tr-main"] move to workspace $ws8
assign [class="Anki"] $ws9
assign [title="Word"] $ws6
assign [class="Firefox"] $ws2
bindsym $mod+Home workspace $ws1
bindsym $mod+Shift+Home move container to workspace $ws1
bindsym $mod+End workspace $ws10
bindsym $mod+Shift+End move container to workspace $ws10
bindsym $mod+Prior workspace prev
bindsym $mod+Shift+Prior move container to workspace prev
bindsym $mod+Next workspace next
bindsym $mod+Shift+Next move container to workspace next
#END
#
bindsym $mod+plus exec --no-startup-id pamixer -i 5
bindsym $mod+Shift+plus exec --no-startup-id pamixer -i 15
bindsym $mod+minus exec --no-startup-id pamixer -d 5
bindsym $mod+Shift+minus exec --no-startup-id pamixer -d 15
bindsym $mod+bracketleft exec --no-startup-id mocp -k -10
bindsym $mod+Shift+bracketleft exec --no-startup-id mocp -k -120
bindsym $mod+bracketright exec --no-startup-id mocp -k 10
bindsym $mod+Shift+bracketright exec --no-startup-id mocp -k 120
#bindsym Print exec --no-startup-id scrot
#bindsym Shift+Print exec --no-startup-id scrot -u
#bindsym $mod+Print exec --no-startup-id $screencast
#bindsym $mod+Shift+Print exec --no-startup-id killall ffmpeg
bindsym $mod+Scroll_Lock exec --no-startup-id $audio
bindsym XF86Launch1 exec --no-startup-id scrot
bindsym Shift+XF86Launch1 exec --no-startup-id scrot -u
bindsym $mod+XF86Launch1 exec --no-startup-id $screencast
bindsym $mod+Shift+XF86Launch1 exec --no-startup-id killall ffmpeg
#Para MOCP
#bindsym XF86AudioPlay exec --no-startup-id mocp -G
#bindsym XF86AudioPause exec --no-startup-id mocp -G
#bindsym XF86AudioNext exec --no-startup-id mocp -f
#bindsym XF86AudioPrev exec --no-startup-id mocp -r
#bindsym XF86AudioStop exec --no-startup-id mocp -G
# Spotify related key bindings
bindsym XF86AudioPlay exec "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause"
bindsym XF86AudioStop exec "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Stop"
bindsym XF86AudioPrev exec "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous"
bindsym XF86AudioNext exec "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next"
bindsym XF86AudioRaiseVolume exec --no-startup-id pamixer -i 5
bindsym XF86AudioLowerVolume exec --no-startup-id pamixer -d 5
bindsym XF86AudioMute exec --no-startup-id pamixer -t
#END
bindsym XF86Mail exec $term -e mutt
bindsym $mod+XF86Mail exec $mail
#bindsym XF86MyComputer exec
#bindsym $mod+XF86MyComputer exec
bindsym XF86HomePage exec --no-startup-id $browser --new-window lukesmith.xyz
bindsym $mod+XF86HomePage exec --no-startup-id $browser
bindsym $mod+XF86WWW exec --no-startup-id $browser
bindsym XF86Calculator exec $term -e qalc
#Iniciar junto com sistema
exec xflux;
exec fluxgui;
exec --no-startup-id nm-applet
exec shutter;
exec caffeine;
exec anki; move to workspace $ws1
exec firefox; move to workspace $ws2
exec spotify; move to workspace $ws3
exec $term -e ranger; move to workspace $ws6
assign [class="$term"] $ws9
#exec $term -e mocp;
exec $term; move to workspace $ws4
exec variety;
#navigate workspaces next / previous
bindsym $mod+Ctrl+Right workspace next
bindsym $mod+Ctrl+Left workspace prev
#Configuração do shutter
bindsym --release Print exec shutter -s
#Para o pamac
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
#Abrir Caja
bindsym $mod+t exec caja;
# Aplições abertar em modo Floating
for_window [class="Nitrogen"] floating enable sticky enable border normal
exec --no-startup-id nitrogen --restore
# change container layout (stacked, tabbed, toggle split)
bindsym $mod+n layout stacking
bindsym $mod+m layout tabbed
bindsym $mod+b layout toggle split
#ZOOM
bindsym $mod+v exec xzoom;
for_window [title="xzoom"] floating enable; resize grow width 100 px or 100ppt; resize grow height 30 px or 30ppt;
# Theme colors
#class border backgr. text indicator
client.focused #7f8f9f #C0C0C0 #000000 #cad0c4
client.focused_inactive #000000 #161616 #2D2D2D
client.unfocused #000000 #161616 #605e56
client.urgent #a5a5a5 #a5a5a5 #1E1E1E
client.background #161616
exec --no-startup-id teamviewer --daemon start
bindsym $mod+shift+p exec --no-startup-id teamviewer --daemon start