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
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
|
##### Variables #####
##### Define workspaces names
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"
set $ws-firefox ""
set $ws-org ""
set $ws-tools ""
set $ws-mutt ""
set $ws-weechat ""
set $ws-newsboat ""
set $ws-R ""
set $ws-signal "Signal"
set $ws-cmus ""
###### Define some default keys
set $LEFT j
set $DOWN k
set $UP l
set $RIGHT m
##### Define shutter sound location (for screenshots)
set $shutter_sound ~/.config/i3/shutter.mp3
##### Define modifier
set $mod Mod4
set $jump Mod3
#####################
##### Appearence #####
##### Define font
font pango:DejaVu Sans Mono 12
##### To gain a bit of space
hide_edge_borders both
######################
##### I3 Behavior #####
##### Disable cycle (like workspace) in a container with several windows
focus_wrapping no
##### Enable workspace auto back and forth (go back to the previous workspace with same keybinding)
workspace_auto_back_and_forth yes
##### Default workspace layout
workspace_layout tabbed
#######################
##### Setup Mouse #####
##### Disable mouse on hover focus
focus_follows_mouse no
##### Define mouse floating window size and move modifier
floating_modifier $mod
floating_minimum_size 200 x 200
#######################
##### Keys Bindings #####
##### Volume
bindsym XF86AudioRaiseVolume exec amixer -D pulse sset Master 5%+
bindsym XF86AudioLowerVolume exec amixer -D pulse sset Master 5%-
bindsym XF86AudioMute exec amixer -D pulse sset Master toggle
##### Scratchpad
bindsym $mod+asterisk scratchpad show
bindsym $mod+Shift+asterisk move scratchpad
##### Define brightness control
bindcode 233 exec xbacklight -inc 5
bindcode 232 exec xbacklight -dec 5
##### Move workspace to next output
bindsym $mod+ugrave move workspace to output right
##### Define screenshot key
bindsym Print exec scrot ~/Pictures/screenshots/%Y-%m-%d_%H:%M:%S.png && exec ffplay -nodisp -autoexit $shutter_sound
bindsym $mod+Print exec scrot -e "ffplay -nodisp -autoexit $shutter_sound && gimp \$f" ~/Pictures/screenshots/%Y-%m-%d_%H:%M:%S.png
##### Start terminal
bindsym $mod+Shift+Return exec xterm
##### Kill a window
bindsym $mod+Shift+a kill
##### Start dmenu
bindsym $mod+d exec dmenu_run -b -i -sb "#CC0000" -nb "#4A4A4A" -fn "Deja Vu Sans Mono-14:bold"
##### Configure password manager
bindsym $mod+Shift+d exec pp
##### Change focus
bindsym $mod+$LEFT focus left
bindsym $mod+$DOWN focus down
bindsym $mod+$UP focus up
bindsym $mod+$RIGHT focus right
##### Move focused window
bindsym $mod+Shift+$LEFT move left
bindsym $mod+Shift+$DOWN move down
bindsym $mod+Shift+$UP move up
bindsym $mod+Shift+$RIGHT move right
##### Layout Splits
bindsym $mod+h split h
bindsym $mod+v split v
##### Toggle fullscreen
bindsym $mod+f fullscreen toggle
##### Change container layout (either stacked, tabbed or splitv/splith)
bindsym $mod+s layout stacking
bindsym $mod+z layout tabbed
bindsym $mod+t layout toggle split
##### Toggle tiling / floating
bindsym $mod+Shift+space floating toggle
##### Change focus between tiling / floating windows
bindsym $mod+space focus mode_toggle
##### Focus container
bindsym $mod+q focus parent
bindsym $mod+Shift+q focus child
##### Workspace next and prev
bindsym $mod+Right workspace next
bindsym $mod+Left workspace prev
##### Switch to workspace
bindsym $mod+ampersand workspace $ws1
bindsym $mod+eacute workspace $ws2
bindsym $mod+quotedbl workspace $ws3
bindsym $mod+apostrophe workspace $ws4
bindsym $mod+parenleft workspace $ws5
bindsym $mod+minus workspace $ws6
bindsym $mod+egrave workspace $ws7
bindsym $mod+underscore workspace $ws8
bindsym $mod+ccedilla workspace $ws9
bindsym $mod+agrave workspace $ws10
bindsym $mod+exclam workspace $ws-tools
##### Move focused container to workspace
bindsym $mod+Shift+ampersand move container to workspace $ws1
bindsym $mod+Shift+eacute move container to workspace $ws2
bindsym $mod+Shift+quotedbl move container to workspace $ws3
bindsym $mod+Shift+apostrophe move container to workspace $ws4
bindsym $mod+Shift+5 move container to workspace $ws5
bindsym $mod+Shift+minus move container to workspace $ws6
bindsym $mod+Shift+egrave move container to workspace $ws7
bindsym $mod+Shift+underscore move container to workspace $ws8
bindsym $mod+Shift+ccedilla move container to workspace $ws9
bindsym $mod+Shift+agrave move container to workspace $ws10
bindsym $mod+Shift+exclam move container to workspace $ws-tools
# Read 1 character and mark the current window with this character
bindsym $mod+shift+w exec i3-input -F 'mark %s' -l 1 -P 'Mark: '
##### Reload configuration file
bindsym $mod+Shift+c reload
##### Restart i3 inplace
bindsym $mod+Shift+r restart
##### Exit i3
bindsym $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'"
##### Resize window
mode "resize" {
# Pressing left will shrink the window’s width.
bindsym $LEFT resize shrink width 10 px or 10 ppt
# Pressing down will grow the window’s height.
bindsym $UP resize grow height 10 px or 10 ppt
# Pressing up will shrink the window’s height.
bindsym $DOWN resize shrink height 10 px or 10 ppt
# Pressing right will grow the window’s width.
bindsym $RIGHT resize grow width 10 px or 10 ppt
# Back to normal
bindsym Return mode "default"
bindsym Escape mode "default"
bindsym q mode "default"
}
bindsym $mod+r mode "resize"
##### Cmus control
mode "cmus" {
# Toggle pause
bindsym c exec cmus-remote -u
# Next
bindsym b exec cmus-remote -n
# Previous
bindsym z exec cmus-remote -r
#Shuffle
bindsym s exec cmus-rand integrated
# Vol up
bindsym Shift + plus exec cmus-remote -v +5%
bindsym KP_Add exec cmus-remote -v +5%
# Vol down
bindsym minus exec cmus-remote -v -5%
bindsym KP_Subtract exec cmus-remote -v -5%
# Quit
bindsym x exec cmus-remote -C quit; mode "default"
# Back to normal
bindsym Return mode "default"
bindsym Escape mode "default"
bindsym q mode "default"
}
bindsym $mod c mode "cmus"
##### App launcher keys
mode "launcher" {
# Lancer terminal
bindsym t exec tmux_run; mode "default"
# Define lock control
bindsym F3 exec i3lock -f -i ~/.dotfiles-deps/i3/lock.png; mode "default"
# Open wicd
bindsym w exec xterm -e nmtui; mode "default"
# Open pavucontrol
bindsym p exec i3-pavucontrol; mode "default"
# Start weechat
bindsym Shift + w exec xterm -e weechat || notify-send -t 2000 "Weechat already launched"; mode "default"
# Open mc
bindsym m exec xterm -e mc; mode "default"
# Join cmus
bindsym c exec xterm -e cmus; mode "default"
# Start deluge
bindsym d exec xterm -e deluge-console ; mode "default"
# Open orgfiles
bindsym o exec org-session ; mode "default"
# Enable double screen
bindsym F1 exec ~/.config/i3/inria.sh; mode "default"
# Disable double screen
bindsym F2 exec ~/.config/i3/noinria.sh; mode "default"
bindsym F4 exec xrandr --output DP1-2 --same-as eDP1 ; mode "default"
# Back to normal
bindsym Return mode "default"
bindsym Escape mode "default"
bindsym q mode "default"
}
bindsym $mod+o mode "launcher"
##### Quick window switching (maybe using i3-input will be more generic)
bindsym $jump+m workspace $ws-mutt
bindsym $jump+w workspace $ws-weechat
bindsym $jump+n workspace $ws-newsboat
bindsym $jump+r workspace $ws-R
bindsym $jump+s workspace $ws-signal
bindsym $jump+c workspace $ws-cmus
bindsym $jump+f workspace $ws-firefox
bindsym $jump+agrave workspace $ws-org
#########################
##### Startup #####
##### Startup tools
exec --no-startup-id xmodmap ~/.Xmodmap
exec --no-startup-id xterm -T Mutt -e mutt
exec --no-startup-id xterm -xrm "xterm*allowTitleOps: false" -T Weechat -e weechat # We should prevent Weechat to change xterm window title (with -xm ...)
exec --no-startup-id xterm -xrm "xterm*allowTitleOps: false" -T Cmus -e cmus
exec --no-startup-id pulseeffects
exec --no-startup-id signal-desktop-disable-gpu
exec --no-startup-id xterm -T "R Session" -e R
exec --no-startup-id xterm -T "Newsboat" -e newsboat
##### Startup applications
exec --no-startup-id firefox
exec --no-startup-id org-session
exec --no-startup-id /usr/bin/emacs --daemon
exec --no-startup-id xcompmgr
exec --no-startup-id xrdb ~/.Xdefaults
exec --no-startup-id clipit
exec --no-startup-id redshift -l 48.1265:-1.6499 -t 5500:3600 -g 0.8 -m vidmode -v
exec --no-startup-id dunst -conf ~/.dunstrc
exec_always feh --bg-scale ~/.config/i3/background.jpg
###################
##### Workspaces Assignments #####
##### Assign apps to workspace
assign [class="^firefox$"] $ws-firefox
assign [class="^Eclipse$"] $ws2
assign [title="org-session"] $ws-org
##### Assign tools workspaces
assign [class="^Signal$"] $ws-signal
assign [title="Mutt"] $ws-mutt
assign [title="Weechat"] $ws-weechat
assign [title="R Session"] $ws-R
assign [title="Newsboat"] $ws-newsboat
assign [class="Pulseeffects"] $ws-cmus
assign [title="Cmus"] $ws-cmus
##################################
##### Configure Windows #####
for_window [class="feh"] floating enable
for_window [class="Geeqie"] floating enable, resize set 1700 900, move position center
for_window [class="MPlayer"] floating enable
for_window [title="^Tmux$"] floating enable, resize set 1700 900, move position center
for_window [class="^Pavucontrol$"] floating enable, resize set 1700 900, move position center
#############################
##### Configure Outputs #####
workspace $ws1 output eDP1 # Compilation
workspace $ws2 output DP1-2 # Eclipse
workspace $ws3 output DP1-2
workspace $ws4 output DP1-2
workspace $ws5 output DP1-2
workspace $ws6 output DP1-2
workspace $ws7 output DP1-2
workspace $ws8 output DP1-2
workspace $ws9 output DP1-1 # Web browser
workspace $ws10 output DP1-2 # org-session signal
#############################
##### Theme #####
bar {
#mode hide
position top
font pango:DejaVu Sans Mono 14
status_command i3status -c ~/.config/i3/i3status.conf
separator_symbol "|"
colors {
active_workspace #414141 #2d2d2d #ffffff
background #2d2d2d
focused_workspace #4183F6 #2d76f6 #ffffff
inactive_workspace #414141 #2d2d2d #bbbbbb
separator #bbbbbb
statusline #ffffff
urgent_workspace #FFCB21 #ffc609 #ffffff
}
}
#################
client.focused #4183F6 #2d76f6 #ffffff #d8442e #4183F6
client.focused_inactive #C1C1C1 #bbbbbb #ffffff #009c58 #C1C1C1
client.unfocused #414141 #2d2d2d #ffffff #bbbbbb #414141
client.urgent #FFCB21 #ffc609 #ffffff #d8442e #FFCB21
##### Variables #####
##### Define workspaces names
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"
set $ws-firefox ""
set $ws-org ""
set $ws-tools ""
set $ws-mutt ""
set $ws-weechat ""
set $ws-newsboat ""
set $ws-R ""
set $ws-signal "Signal"
set $ws-cmus ""
###### Define some default keys
set $LEFT j
set $DOWN k
set $UP l
set $RIGHT m
##### Define shutter sound location (for screenshots)
set $shutter_sound ~/.config/i3/shutter.mp3
##### Define modifier
set $mod Mod4
set $jump Mod3
#####################
##### Appearence #####
##### Define font
font pango:DejaVu Sans Mono 12
##### To gain a bit of space
hide_edge_borders both
######################
##### I3 Behavior #####
##### Disable cycle (like workspace) in a container with several windows
focus_wrapping no
##### Enable workspace auto back and forth (go back to the previous workspace with same keybinding)
workspace_auto_back_and_forth yes
##### Default workspace layout
workspace_layout tabbed
#######################
##### Setup Mouse #####
##### Disable mouse on hover focus
focus_follows_mouse no
##### Define mouse floating window size and move modifier
floating_modifier $mod
floating_minimum_size 200 x 200
#######################
##### Keys Bindings #####
##### Volume
bindsym XF86AudioRaiseVolume exec amixer -D pulse sset Master 5%+
bindsym XF86AudioLowerVolume exec amixer -D pulse sset Master 5%-
bindsym XF86AudioMute exec amixer -D pulse sset Master toggle
##### Scratchpad
bindsym $mod+asterisk scratchpad show
bindsym $mod+Shift+asterisk move scratchpad
##### Define brightness control
bindcode 233 exec xbacklight -inc 5
bindcode 232 exec xbacklight -dec 5
##### Move workspace to next output
bindsym $mod+ugrave move workspace to output right
##### Define screenshot key
bindsym Print exec scrot ~/Pictures/screenshots/%Y-%m-%d_%H:%M:%S.png && exec ffplay -nodisp -autoexit $shutter_sound
bindsym $mod+Print exec scrot -e "ffplay -nodisp -autoexit $shutter_sound && gimp \$f" ~/Pictures/screenshots/%Y-%m-%d_%H:%M:%S.png
##### Start terminal
bindsym $mod+Shift+Return exec xterm
##### Kill a window
bindsym $mod+Shift+a kill
##### Start dmenu
bindsym $mod+d exec dmenu_run -b -i -sb "#CC0000" -nb "#4A4A4A" -fn "Deja Vu Sans Mono-14:bold"
##### Configure password manager
bindsym $mod+Shift+d exec pp
##### Change focus
bindsym $mod+$LEFT focus left
bindsym $mod+$DOWN focus down
bindsym $mod+$UP focus up
bindsym $mod+$RIGHT focus right
##### Move focused window
bindsym $mod+Shift+$LEFT move left
bindsym $mod+Shift+$DOWN move down
bindsym $mod+Shift+$UP move up
bindsym $mod+Shift+$RIGHT move right
##### Layout Splits
bindsym $mod+h split h
bindsym $mod+v split v
##### Toggle fullscreen
bindsym $mod+f fullscreen toggle
##### Change container layout (either stacked, tabbed or splitv/splith)
bindsym $mod+s layout stacking
bindsym $mod+z layout tabbed
bindsym $mod+t layout toggle split
##### Toggle tiling / floating
bindsym $mod+Shift+space floating toggle
##### Change focus between tiling / floating windows
bindsym $mod+space focus mode_toggle
##### Focus container
bindsym $mod+q focus parent
bindsym $mod+Shift+q focus child
##### Workspace next and prev
bindsym $mod+Right workspace next
bindsym $mod+Left workspace prev
##### Switch to workspace
bindsym $mod+ampersand workspace $ws1
bindsym $mod+eacute workspace $ws2
bindsym $mod+quotedbl workspace $ws3
bindsym $mod+apostrophe workspace $ws4
bindsym $mod+parenleft workspace $ws5
bindsym $mod+minus workspace $ws6
bindsym $mod+egrave workspace $ws7
bindsym $mod+underscore workspace $ws8
bindsym $mod+ccedilla workspace $ws9
bindsym $mod+agrave workspace $ws10
bindsym $mod+exclam workspace $ws-tools
##### Move focused container to workspace
bindsym $mod+Shift+ampersand move container to workspace $ws1
bindsym $mod+Shift+eacute move container to workspace $ws2
bindsym $mod+Shift+quotedbl move container to workspace $ws3
bindsym $mod+Shift+apostrophe move container to workspace $ws4
bindsym $mod+Shift+5 move container to workspace $ws5
bindsym $mod+Shift+minus move container to workspace $ws6
bindsym $mod+Shift+egrave move container to workspace $ws7
bindsym $mod+Shift+underscore move container to workspace $ws8
bindsym $mod+Shift+ccedilla move container to workspace $ws9
bindsym $mod+Shift+agrave move container to workspace $ws10
bindsym $mod+Shift+exclam move container to workspace $ws-tools
# Read 1 character and mark the current window with this character
bindsym $mod+shift+w exec i3-input -F 'mark %s' -l 1 -P 'Mark: '
##### Reload configuration file
bindsym $mod+Shift+c reload
##### Restart i3 inplace
bindsym $mod+Shift+r restart
##### Exit i3
bindsym $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'"
##### Resize window
mode "resize" {
# Pressing left will shrink the window’s width.
bindsym $LEFT resize shrink width 10 px or 10 ppt
# Pressing down will grow the window’s height.
bindsym $UP resize grow height 10 px or 10 ppt
# Pressing up will shrink the window’s height.
bindsym $DOWN resize shrink height 10 px or 10 ppt
# Pressing right will grow the window’s width.
bindsym $RIGHT resize grow width 10 px or 10 ppt
# Back to normal
bindsym Return mode "default"
bindsym Escape mode "default"
bindsym q mode "default"
}
bindsym $mod+r mode "resize"
##### Cmus control
mode "cmus" {
# Toggle pause
bindsym c exec cmus-remote -u
# Next
bindsym b exec cmus-remote -n
# Previous
bindsym z exec cmus-remote -r
#Shuffle
bindsym s exec cmus-rand integrated
# Vol up
bindsym Shift + plus exec cmus-remote -v +5%
bindsym KP_Add exec cmus-remote -v +5%
# Vol down
bindsym minus exec cmus-remote -v -5%
bindsym KP_Subtract exec cmus-remote -v -5%
# Quit
bindsym x exec cmus-remote -C quit; mode "default"
# Back to normal
bindsym Return mode "default"
bindsym Escape mode "default"
bindsym q mode "default"
}
bindsym $mod c mode "cmus"
##### App launcher keys
mode "launcher" {
# Lancer terminal
bindsym t exec tmux_run; mode "default"
# Define lock control
bindsym F3 exec i3lock -f -i ~/.dotfiles-deps/i3/lock.png; mode "default"
# Open wicd
bindsym w exec xterm -e nmtui; mode "default"
# Open pavucontrol
bindsym p exec i3-pavucontrol; mode "default"
# Start weechat
bindsym Shift + w exec xterm -e weechat || notify-send -t 2000 "Weechat already launched"; mode "default"
# Open mc
bindsym m exec xterm -e mc; mode "default"
# Join cmus
bindsym c exec xterm -e cmus; mode "default"
# Start deluge
bindsym d exec xterm -e deluge-console ; mode "default"
# Open orgfiles
bindsym o exec org-session ; mode "default"
# Enable double screen
bindsym F1 exec ~/.config/i3/inria.sh; mode "default"
# Disable double screen
bindsym F2 exec ~/.config/i3/noinria.sh; mode "default"
bindsym F4 exec xrandr --output DP1-2 --same-as eDP1 ; mode "default"
# Back to normal
bindsym Return mode "default"
bindsym Escape mode "default"
bindsym q mode "default"
}
bindsym $mod+o mode "launcher"
##### Quick window switching (maybe using i3-input will be more generic)
bindsym $jump+m workspace $ws-mutt
bindsym $jump+w workspace $ws-weechat
bindsym $jump+n workspace $ws-newsboat
bindsym $jump+r workspace $ws-R
bindsym $jump+s workspace $ws-signal
bindsym $jump+c workspace $ws-cmus
bindsym $jump+f workspace $ws-firefox
bindsym $jump+agrave workspace $ws-org
#########################
##### Startup #####
##### Startup tools
exec --no-startup-id xmodmap ~/.Xmodmap
exec --no-startup-id xterm -T Mutt -e mutt
exec --no-startup-id xterm -xrm "xterm*allowTitleOps: false" -T Weechat -e weechat # We should prevent Weechat to change xterm window title (with -xm ...)
exec --no-startup-id xterm -xrm "xterm*allowTitleOps: false" -T Cmus -e cmus
exec --no-startup-id pulseeffects
exec --no-startup-id signal-desktop-disable-gpu
exec --no-startup-id xterm -T "R Session" -e R
exec --no-startup-id xterm -T "Newsboat" -e newsboat
##### Startup applications
exec --no-startup-id firefox
exec --no-startup-id org-session
exec --no-startup-id /usr/bin/emacs --daemon
exec --no-startup-id xcompmgr
exec --no-startup-id xrdb ~/.Xdefaults
exec --no-startup-id clipit
exec --no-startup-id redshift -l 48.1265:-1.6499 -t 5500:3600 -g 0.8 -m vidmode -v
exec --no-startup-id dunst -conf ~/.dunstrc
exec_always feh --bg-scale ~/.config/i3/background.jpg
###################
##### Workspaces Assignments #####
##### Assign apps to workspace
assign [class="^firefox$"] $ws-firefox
assign [class="^Eclipse$"] $ws2
assign [title="org-session"] $ws-org
##### Assign tools workspaces
assign [class="^Signal$"] $ws-signal
assign [title="Mutt"] $ws-mutt
assign [title="Weechat"] $ws-weechat
assign [title="R Session"] $ws-R
assign [title="Newsboat"] $ws-newsboat
assign [class="Pulseeffects"] $ws-cmus
assign [title="Cmus"] $ws-cmus
##################################
##### Configure Windows #####
for_window [class="feh"] floating enable
for_window [class="Geeqie"] floating enable, resize set 1700 900, move position center
for_window [class="MPlayer"] floating enable
for_window [title="^Tmux$"] floating enable, resize set 1700 900, move position center
for_window [class="^Pavucontrol$"] floating enable, resize set 1700 900, move position center
#############################
##### Configure Outputs #####
workspace $ws1 output eDP1 # Compilation
workspace $ws2 output DP1-2 # Eclipse
workspace $ws3 output DP1-2
workspace $ws4 output DP1-2
workspace $ws5 output DP1-2
workspace $ws6 output DP1-2
workspace $ws7 output DP1-2
workspace $ws8 output DP1-2
workspace $ws9 output DP1-1 # Web browser
workspace $ws10 output DP1-2 # org-session signal
#############################
##### Theme #####
bar {
#mode hide
position top
font pango:DejaVu Sans Mono 14
status_command i3status -c ~/.config/i3/i3status.conf
separator_symbol "|"
colors {
separator #AAAAAA
background #1f2326
statusline #FFFFFF
focused_workspace #9FCA56 #9FCA56 #151718
active_workspace #DCCD69 #DCCD69 #151718
inactive_workspace #1f2326 #1f2326 #AAAAAA
urgent_workspace #CE4045 #CE4045 #FFFFFF
}
}
#################
client.focused #4F99D3 #4F99D3 #151718 #9FCA56 #4F99D3
client.focused_inactive #9FCA56 #9FCA56 #151718 #A074C4 #9FCA56
client.unfocused #1f2326 #1f2326 #AAAAAA #A074C4 #1f2326
client.urgent #CE4045 #CE4045 #FFFFFF #DCCD69 #CE4045
|