-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.conf.yaml
242 lines (214 loc) · 5.65 KB
/
install.conf.yaml
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
- clean: ['~', '$XDG_CONFIG_HOME']
- shell:
- [git submodule update --init --recursive, Installing submodules]
# ============
# Common links
# ============
- defaults:
link:
relink: true
create: true
relative: false
glob: true
force: true
- link:
# directories
# -----------
~/.config/nvim: neovim
~/.config/termite: termite
~/.config/firefox: firefox
~/.config/colors: colors
~/.config/spicetify: spicetify
~/.mpd: mpd
# globs
# -----
~/bin: bin
# files
# -----
# -- gpg
~/.config/git: git
~/.gnupg/gpg-agent.conf: gnupg/gpg-agent.conf
~/.gnupg/sshcontrol: gnupg/sshcontrol
# -- tmux
~/.tmux.conf: tmux/config
~/.config/tmux: tmux
# -- zsh
~/.config/zsh: zsh
~/.zshenv: zshenv
# -- bash
~/.bash_env: bash_env
~/.bash_env.d: bash_env.d
~/.bash_profile: bash_profile
~/.bash_profile.d: bash_profile.d
~/.bash_logout: bash_logout
~/.bashrc: bashrc
# -- generic shell
~/.profile: profile
~/.profile.d: profile.d
~/.shrc.d: shrc.d
~/.env: env
~/.env.d: env.d
# gnu readline keybindings
~/.inputrc: inputrc
# -- misc
~/.vimperator: vimperator
~/.vimperatorrc: vimperatorrc
~/.config/user-dirs.dirs: user-dirs.dirs
# =======
# Scripts
# =======
# - shell:
# -
# command: $XDG_CONFIG_HOME/colors/base16_profile_helper.sh
# stdin: true
# stdout: true
# stderr: true
# description: Applying colors
# quiet: false
- shell:
-
command: |-
cmd="$(command -v dircolors || command -v gdircolors)" || { echo "no dircolors command found " ; exit 1; }
[ -d ~/.env.d ] || mkdir -p ~/.env.d
$cmd colors/LS_COLORS/LS_COLORS > ~/.env.d/LS_COLORS
chmod +x ~/.env.d/LS_COLORS
stdin: true
stdout: true
stderr: true
description: Generating LS_COLORS
quiet: false
# ===
# SSH
# ===
- defaults:
link:
relink: true
create: true
relative: false
glob: true
- link:
~/.ssh: ssh
- shell:
- ['find -L ~/.ssh -type d -exec chmod 700 {} \;', Setting ssh permissions (dirs)]
- ['find -L ~/.ssh -type f -exec chmod 600 {} \;', Setting ssh permissions (files)]
# =========
# Alacritty
# =========
- defaults:
link:
relink: true
create: true
relative: false
glob: true
- link:
~/.config/alacritty/base.yml: alacritty/base.yml
~/.config/alacritty/base16-colors.yml: alacritty/base16-colors.yml
~/.config/alacritty/keybindings.yml: alacritty/keybindings.yml
- defaults:
link:
relink: true
create: true
relative: false
glob: true
if: '[ "$(uname -s)" "==" "Darwin" ]'
- link:
~/.config/alacritty/base.platform.yml: alacritty/base.macos.yml
~/.config/alacritty/keybindings.platform.yml: alacritty/keybindings.macos.yml
- defaults:
link:
relink: true
create: true
relative: false
glob: true
if: '[ "$(uname -s)" "==" "Linux" ]'
- link:
~/.config/alacritty/base.platform.yml: alacritty/base.linux.yml
~/.config/alacritty/keybindings.platform.yml: alacritty/keybindings.linux.yml
- shell:
-
command: >-
cat
~/.config/alacritty/base.yml
~/.config/alacritty/base.platform.yml
~/.config/alacritty/base16-colors.yml
~/.config/alacritty/keybindings.yml
~/.config/alacritty/keybindings.platform.yml
> ~/.config/alacritty/alacritty.yml
stdin: true
stdout: true
stderr: true
description: Generating alacritty config
quiet: false
-
command: mkdir -p ~/.terminfo && cd ~/.terminfo && curl -L https://raw.githubusercontent.com/jwilm/alacritty/master/extra/alacritty.info -O && tic -xe alacritty,alacritty-direct alacritty.info
stdin: true
stdout: true
stderr: true
description: Installing alacritty terminfo
quiet: false
# ================
# MacOS only links
# ================
- defaults:
link:
relink: true
create: true
relative: false
glob: true
if: '[ "$(uname -s)" "==" "Darwin" ]'
- link:
# directories
# -----------
~/.config/iterm2: iterm2
~/.mpd: mpd
~/Library/Application Support/Übersicht: uebersicht
~/Library/Application Support/tracesOf.Uebersicht: uebersicht.settings
~/.config/brewfile: brewfile
~/.config/yabai: yabai
~/.config/skhd: skhd
# globs
# -----
~/Library/LaunchAgents/: Library/LaunchAgents/*
# files
# -----
~/Library/Application Support/iTerm2/DynamicProfiles/dynamic_profiles.json: iterm2/dynamic_profiles.json
~/Library/Application Support/Übersicht/widgets: ubersicht/widgets
# ================
# Linux only links
# ================
- defaults:
link:
relink: true
create: true
relative: false
glob: true
if: '[ "$(uname -s)" "==" "Linux" ]'
- link:
# directories
# -----------
~/.config/sway: sway
~/.config/rofi: rofi
~/.config/fontconfig: fontconfig
~/.Xresources.d: Xresources.d
~/.config/i3status: i3status
~/.config/i3status-rust: i3status-rust
~/.config/i3: i3
~/.local/share/barrier: barrier
~/.config/udiskie: udiskie
~/.config/dunst: dunst
~/.config/pacman: pacman
~/.config/ranger: ranger
~/.config/systemd: systemd
~/.config/mako: mako
~/.config/waybar: waybar
~/.config/yay: yay
# files
# -----
~/.xbindkeysrc: xbindkeysrc
~/.Xresources: Xresources
~/.xinitrc: xinitrc
~/.xprofile: xprofile
~/.config/compton.conf: compton.conf
~/.config/mimeapps.list: mimeapps.list
# https://wiki.archlinux.org/index.php/XDG_MIME_Applications#mimeapps.list
~/.local/share/mimeapps.list: mimeapps.list