-
Notifications
You must be signed in to change notification settings - Fork 0
/
deploy-configs.yml
261 lines (238 loc) · 8.02 KB
/
deploy-configs.yml
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
# --------------------------------------------------
# terminal
.terminal-links: &terminal-links
bat:
target: "{{.GitRoot}}/configs/terminal/bat"
link: "{{.Home}}/.config/bat/config"
tmux:
target: "{{.GitRoot}}/configs/terminal/tmux"
link: "{{.Home}}/.tmux.conf"
zshrc:
target: "{{.GitRoot}}/configs/terminal/zsh/zshrc"
link: "{{.Home}}/.zshrc"
zsh-binds:
target: "{{.GitRoot}}/configs/terminal/zsh/binds"
link: "{{.Home}}/.zsh_binds"
zsh-interactive-widgets:
target: "{{.GitRoot}}/configs/terminal/zsh/interactive-widgets"
link: "{{.Home}}/.zsh_interactive_widgets"
starship:
target: "{{.GitRoot}}/configs/terminal/starship.toml"
link: "{{.Home}}/.config/starship.toml"
kitty:
target: "{{.GitRoot}}/configs/terminal/kitty.conf"
link: "{{.Home}}/.config/kitty/kitty.conf"
ranger:
target: "{{.GitRoot}}/configs/terminal/ranger"
link: "{{.Home}}/.config/ranger/rc.conf"
tealdeer:
target: "{{.GitRoot}}/configs/terminal/tealdeer.toml"
link: "{{.Home}}/.config/tealdeer/config.toml"
# Git
git-config:
target: "{{.GitRoot}}/configs/git/gitconfig"
link: "{{.Home}}/.gitconfig"
git-ignore:
target: "{{.GitRoot}}/configs/git/gitignore_global"
link: "{{.Home}}/.gitignore_global"
# Nvim
nvim:
target: "{{.GitRoot}}/configs/nvim"
link: "{{.Home}}/.config/nvim"
# Misc
xprofile:
target: "{{.GitRoot}}/configs/misc/xprofile"
link: "{{.Home}}/.xprofile"
Xresources:
target: "{{.GitRoot}}/configs/misc/Xresources"
link: "{{.Home}}/.Xresources"
scripts:
target: "{{.GitRoot}}/scripts/"
link: "{{.Home}}/.local/bin/"
trizen:
target: "{{.GitRoot}}/configs/misc/trizen.conf"
link: "{{.Home}}/.config/trizen/trizen.conf"
gdbinit:
target: "{{.GitRoot}}/configs/misc/gdbinit"
link: "{{.Home}}/.gdbinit"
# --------------------------------------------------
# desktop
.desktop-links: &desktop-links
# Qutebrowser
qute:
target: "{{.GitRoot}}/configs/qutebrowser/config.py"
link: "{{.Home}}/.config/qutebrowser/config.py"
qute-style:
target: "{{.GitRoot}}/configs/qutebrowser/style.css"
link: "{{.Home}}/.config/qutebrowser/style.css"
qute-draw:
target: "{{.GitRoot}}/configs/qutebrowser/theme/draw.py"
link: "{{.Home}}/.config/qutebrowser/theme/draw.py"
qute-marks:
target: "{{.GitRoot}}/configs/qutebrowser/quickmarks"
link: "{{.Home}}/.config/qutebrowser/quickmarks"
qute-gm:
target: "{{.GitRoot}}/configs/qutebrowser/greasemonkey"
link: "{{.Home}}/.local/share/qutebrowser/greasemonkey"
qute-clear:
target: "{{.GitRoot}}/configs/qutebrowser/my_scripts/clear.js"
link: "{{.Home}}/.config/qutebrowser/my_scripts/clear.js"
# Polybar
polybar:
target: "{{.GitRoot}}/configs/polybar/config.ini"
link: "{{.Home}}/.config/polybar/config.ini"
polybar-startup:
target: "{{.GitRoot}}/configs/polybar/startup"
link: "{{.Home}}/.config/polybar/startup"
# gromit-mpx
gromit-mpx.cfg:
target: "{{.GitRoot}}/configs/gromit-mpx/gromit-mpx.cfg"
link: "{{.Home}}/.config/gromit-mpx.cfg"
gromit-mpx.ini:
target: "{{.GitRoot}}/configs/gromit-mpx/gromit-mpx.ini"
link: "{{.Home}}/.config/gromit-mpx.ini"
# Keyboard
keyboard:
target: "{{.GitRoot}}/configs/keyboard/keymap/config"
link: "{{.Home}}/.config/xkb/keymap/config"
keyboard-dv:
target: "{{.GitRoot}}/configs/keyboard/symbols/dv_layout"
link: "{{.Home}}/.config/xkb/symbols/dv_layout"
keyboard-ru:
target: "{{.GitRoot}}/configs/keyboard/symbols/ru_layout"
link: "{{.Home}}/.config/xkb/symbols/ru_layout"
# Gtk
gtk-css:
target: "{{.GitRoot}}/configs/gtk/gtk.css"
link: "{{.Home}}/.config/gtk-3.0/gtk.css"
gtk-settings:
target: "{{.GitRoot}}/configs/gtk/settings.ini"
link: "{{.Home}}/.config/gtk-3.0/settings.ini"
gtk2-rc:
target: "{{.GitRoot}}/configs/gtk/gtkrc-2.0"
link: "{{.Home}}/.gtkrc-2.0"
# Desktop
picom:
target: "{{.GitRoot}}/configs/desktop/picom.conf"
link: "{{.Home}}/.config/picom.conf"
rofi-style:
target: "{{.GitRoot}}/configs/rofi/style.rasi"
link: "{{.Home}}/.config/rofi/style.rasi"
mouse-theme:
target: "{{.GitRoot}}/configs/desktop/mouse_index.theme"
link: "{{.Home}}/.icons/default/index.theme"
xdg-dirs:
target: "{{.GitRoot}}/configs/desktop/user-dirs.dirs"
link: "{{.Home}}/.config/user-dirs.dirs"
mime:
target: "{{.GitRoot}}/configs/desktop/mimeapps.list"
link: "{{.Home}}/.config/mimeapps.list"
# Services
services:
target: "{{.GitRoot}}/services/"
link: "{{.Home}}/.config/systemd/user"
# Misc
pulseaudio:
target: "{{.GitRoot}}/configs/misc/pulse"
link: "{{.Home}}/.config/pulseaudio-ctl/config"
zathura:
target: "{{.GitRoot}}/configs/misc/zathurarc"
link: "{{.Home}}/.config/zathura/zathurarc"
# --------------------------------------------------
# commands
.commands: &commands
flameshot:
input: "{{.GitRoot}}/configs/desktop/flameshot.ini"
output: "{{.Home}}/.config/flameshot/flameshot.ini"
command: "sed \"s~%HOMEDIR%~$HOME~g\" {{.Input}} > {{.Output}}"
qute_link:
input: "{{.GitRoot}}/configs/qutebrowser/qute_link.desktop"
output: "{{.Home}}/.local/share/applications/qute_link.desktop"
command: "sed \"s~%HOMEDIR%~$HOME~g\" {{.Input}} > {{.Output}}"
gpg-agent:
input: "{{.GitRoot}}/configs/misc/make-gpg-agent.sh"
output: "{{.Home}}/.gnupg/gpg-agent.conf"
command: "bash {{.Input}} {{.Output}}"
# --------------------------------------------------
# templates
.instance: &instance
input: "{{.GitRoot}}/configs/instance.tmpl"
output: "{{.Home}}/.instance"
# rofi
.rofi_default: &rofi_default
input: "{{.GitRoot}}/configs/rofi/config.tmpl"
output: "{{.Home}}/.config/rofi/config.rasi"
data:
dpi: 1
.rofi_note: &rofi_note
<<: *rofi_default
data:
dpi: 0
# dunst
.dunst_default: &dunst_default
input: "{{.GitRoot}}/configs/desktop/dunst.tmpl"
output: "{{.Home}}/.config/dunst/dunstrc"
data:
scale: 0
fontSize: 13
width: 500
.dunst_note: &dunst_note
<<: *dunst_default
data:
scale: 1
fontSize: 10
width: 700
# i3
.i3_template: &i3_template
input: "{{.GitRoot}}/configs/desktop/i3.tmpl"
output: "{{.Home}}/.config/i3/config"
.i3_data_note: &i3_data_note
telegramPosition: "1348 96"
telegramSize: "525 700"
dropdownPosition: "18 46"
dropdownSize: "1884 500"
rangerPosition: "18 46"
rangerSize: "1884 500"
quteEditorSize: "675 336"
.i3_data_home: &i3_data_home
<<: *i3_data_note
telegramPosition: "2872 468"
telegramSize: "580 740"
dropdownPosition: "978 352"
rangerPosition: "978 352"
monitors:
left: "DisplayPort-0"
right: "DVI-D-0"
# --------------------------------------------------
# Insnances
instances:
home:
links:
<<: [*terminal-links, *desktop-links]
commands: *commands
templates:
instance:
<<: *instance
data: home
i3:
<<: *i3_template
data: *i3_data_home
dunst:
<<: *dunst_default
rofi:
<<: *rofi_default
note:
links:
<<: [*terminal-links, *desktop-links]
commands: *commands
templates:
instance:
<<: *instance
data: note
i3:
<<: *i3_template
data: *i3_data_note
dunst:
<<: *dunst_note
rofi:
<<: *rofi_note