-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathtest.i3config
289 lines (246 loc) · 6.55 KB
/
test.i3config
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
# 1) ERROR
sdsjdkjsdkO
fon t xft : System San Francisco Display,FontAwesome UI
$var.one
bindsyn --release $mod+x exec --no-startup-id import /tmp/latest-screenshot.png
kjdfdjdfkfO
default_orientation vErtical
floating_maximum_size -1 -1
workspace_layout defeult
new_window none 0
new_window pixet new_window normall
new_float none 0
new_float pixet
new_float normall
hade_edge_borders both
exec_ chromium
mouse_wraping none
include config_file
include .../config_file
# 2) COMMENT
# This is a comment
# TODO: This is a todo comment
# This is another comment
# 3) FONT
font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
font pango:DejaVu Sans Mono 10
font pango:DejaVu Sans Mono, Terminus Bold Semi-Condensed 11
font pango:Terminus 11px
#font xft:Cousine, FontAwesome 10
font xft:System San Francisco Display, FontAwesome 10
# 5) Variable
$var-one
$var-with-more-dashes
$varOne
$var_one
set $m Mod1
set $focused-bg-color #404552
# 5) Keybinding
bindsym $mod+f fullscreen toggle
bindsym $mod+Shift+r restart
bindcode 214 exec --no-startup-id /home/michael/toggle_beamer.sh
bindsym --release $mod+x exec --no-startup-id xdotool key --clearmodifiers ctrl+v
bindsym --release $mod+x exec --no-startup-id import /tmp/latest-screenshot.png
bindsym XF86MonBrightnessUp exec xbacklight -inc 5
bindsym XF86MonBrightnessDown exec xbacklight -dec 5
bindsym $mod+u border none
bindsym $mod+y border pixel $def_border_pix
# 6) Floating
floating_modifier $mod
floating_modifier $mod normal
floating_minimum_size 75 x 50
floating_maximum_size -1 x -1
# 7) Workspace orientation
default_orientation vertical
# 9) Workspace layout
workspace_layout default
# 10) Border style
new_window none
new_window pixel
new_window normal
new_window pixel 1
new_window normal 2
new_float none
new_float pixel
new_float normal
new_float pixel 1
new_float normal 2
default_border pixel 1
default_border pixel $def_border_pix
default_floating_border pixel 1
# 11) Hide border edge
hide_edge_borders both
hide_edge_borders smart_no_gaps
# 11) Arbitrary command for specific window
for_window [class="XTerm"] floating enable
for_window [class="urxvt"] border pixel 1
for_window [title="x200: ~/work"] floating enable
# 12) Disable focus upon opening
no_focus [window_role="pop-up"]
# 13) Move client to specific workspace automatically
assign [class="URxvt"] 2
assign [class="^URxvt$"] 2
assign [class="^URxvt$"] → 2
assign [class="^URxvt$"] → work
assign [class="^URxvt$" instance="^irssi$"] → 3
# 14) Auto start application
exec chromium
exec --no-startup-id chromium
exec_always ~/my_script.sh
# 15) Automatically putting workspaces on specific screens
workspace 1 output LVDS1
workspace 5 output VGA1
workspace "2: vim" output VGA1
# 16) Changing colors
# class border backgr. text indicator child_border
client.focused #4c7899 #285577 #ffffff #2e9ef4 #285577
client.focused_inactive #333333 #5f676a #ffffff #484e50 #5f676a
client.unfocused #333333 #222222 #888888 #292d2e #222222
client.urgent #2f343a #900000 #ffffff #900000 #900000
client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c
client.background #ffffff
# 17) Interprocess communication
ipc-socket ~/.i3/i3-ipc.sock
# 18) Focus follows mouse
mouse_warping output
mouse_warping none
# 19) Popups during fullscreen mode
popup_during_fullscreen smart
# 20) Force Focus wrapping
force_focus_wrapping yes
# Focus wrapping
focus_wrapping no
# 21) Forcing Xinerama
force_xinerama no
# 22) Automatic back-and-forth when switching to the current workspace
workspace_auto_back_and_forth yes
# 23) Delay urgency hint
force_display_urgency_hint 1000 ms
# 24) Focus on window activation
focus_on_window_activation urgent
# 25) Drawing marks on window decoration
show_marks yes
# 26) Group mode/bar
mode "resize" {
# Pressing down will grow the window’s height.
bindsym l resize shrink width 10 px or 10 ppt
}
bar {
status_command /home/mohamed/.conkyi3
position top
colors {
background $bg_color
separator #757575
urgent_workspace $urgent_bg_color $urgent_bg_color $text_color
}
}
# 27) Line continuation
bindsym Mod1+f \
fullscreen toggle
font \
xft:System San Francisco Display, \
xft:System San Francisco Display, \
# 28) X resources
set_from_resource $black i3wm.color0 #000000
# 29) gaps
gaps inner 1
gaps outer 2
gaps outer -1
gaps left 2
gaps top 2
gaps right 2
gaps top 2
gaps inner set 3
gaps inner plus 4
gaps inner minus 5
gaps outer set 6
gaps outer plus 7
gaps outer minus 8
gaps inner current 9
gaps inner current set 10
gaps inner current plus 11
gaps inner current minus 12
gaps inner all 13
gaps inner all set 14
gaps inner all plus 15
gaps inner all minus 16
gaps outer current 17
gaps outer current set 18
gaps outer current plus 19
gaps outer current minus 20
gaps outer all 21
gaps outer all set 22
gaps outer all plus 23
gaps outer all minus 24
gaps inner all set 0
gaps horizontal current plus 40
gaps outer current toggle 60
gaps inner $var
gaps outer $var
gaps left $var
gaps top $var
gaps right $var
gaps top $var
gaps inner set $var
gaps inner plus $var
gaps inner minus $var
gaps outer set $var
gaps outer plus $var
gaps outer minus $var
gaps inner current $var
gaps inner current set $var
gaps inner current plus $var
gaps inner current minus $var
gaps inner all $var
gaps inner all set $var
gaps inner all plus $var
gaps inner all minus $var
gaps outer current $var
gaps outer current set $var
gaps outer current plus $var
gaps outer current minus $var
gaps outer all $var
gaps outer all set $var
gaps outer all plus $var
gaps outer all minus $var
gaps inner all set $var
gaps horizontal current plus $var
gaps outer current toggle $var
# change focus
bindsym Mod1+h focus left
bindsym Mod1+j focus down
bindsym Mod1+k focus up
bindsym Mod1+l focus right
# change workspace
bindsym $mod+1 workspace $ws1
# switch mode
bindsym $mod+p mode "$pmode"
# move container to workspace
bindsym $mode+Shift+1 move container to workspace $ws1
# grow window
bindsym $mod+u resize grow height 5 px or 5 ppt
# 30) Focus follow mouse
focus_follows_mouse no
focus_follows_mouse yes
# 31) Mouse wrapping
mouse_warping none
mouse_warping output
# 32) smart_gaps
smart_gaps on
smart_gaps inverse_outer
# 33) smart_borders
smart_borders on
smart_borders no_gaps
# 35) title alignment
title_align left
title_align right
title_align center
# 36) sway config file include
include ~/.config/sway/config
include /.config/sway/config
include ./sway/config
include ../sway/config
# 36) sway focus and output keywords
focus output eDP-1
output DP-2 pos 0 0
output eDP-1 pos 1440 0