Add autoformat for vim
[perso/Immae/Config/dotdrop.git] / config.yaml
CommitLineData
1950387f
IB
1_comments:
2 _need_help: Go see https://github.com/deadc0de6/dotdrop#config
1950387f
IB
3actions:
4 post:
2f8e2ef0 5 protect_read: chmod go-rwx {0}
1950387f
IB
6 make_exec: chmod a+x {0}
7 pam_updated: "echo -e \"\\033[00;32m\u26A0\uFE0F \u26A0\uFE0F You need to log\
8 \ out and back in to update your environment \u26A0\uFE0F \u26A0\uFE0F\\033[00m\""
9 systemd_daemon_reload: systemctl --user daemon-reload
10 systemd_enable: systemctl --user is-enabled {0} || systemctl --user enable {0}
11 systemd_restart: systemctl --user restart {0}
12 systemd_start: systemctl --user is-active {0} || systemctl --user start {0}
13 vim_pluginstall: vim -c PlugInstall -c qa
14 pre:
15 make_bash_dirs: mkdir -p "$XDG_STATE_HOME/bash" "$XDG_STATE_HOME/less"
7ffbf559 16 make_git_dirs: mkdir -p "$XDG_STATE_HOME/tig" && ln -s "$XDG_STATE_HOME/tig" "$XDG_DATA_HOME/tig"
1950387f
IB
17 make_pm2_dirs: mkdir -p "$XDG_CONFIG_HOME/pm2"
18 make_psql_dirs: mkdir -p "$XDG_STATE_HOME/psql"
19 make_xdg_dirs: mkdir -p "$XDG_CONFIG_HOME" "$XDG_STATE_HOME" "$XDG_DATA_HOME"
7ffbf559
IB
20 "$XDG_CACHE_HOME" "$HOME/Desktop" "$HOME/Downloads"
21 make_xorg_link: mkdir "$XDG_STATE_HOME/xorg" && ln -s "$XDG_STATE_HOME/xorg" "$XDG_DATA_HOME/xorg"
1950387f
IB
22config:
23 backup: false
24 banner: false
25 create: true
26 dotpath: dotfiles
27 keepdot: false
28 link_by_default: false
29 longkey: true
30 showdiff: true
31 workdir: ~/.config/dotdrop/templated_symlinks
32dotfiles:
33 fretlink_config_files:
34 actions:
35 - make_pm2_dirs
36 dst: ~/.config
37 src: fretlink/config_files
2bd9034d
IB
38 fretlink_environment_file:
39 dst: ~/workdir/environment
40 src: password_store/Travail/Fretlink/Environment.gpg
41 trans:
42 - gpg
1950387f
IB
43 fretlink_workdir_files:
44 actions:
45 - make_exec ~/workdir/start
46 dst: ~/workdir
47 src: fretlink/workdir
48 git_config_files:
49 actions:
50 - make_git_dirs
51 dst: ~/.config
52 src: git/config_files
d5458026
IB
53 gnupg_config_files:
54 dst: ~/.config
55 src: gnupg/config_files
2f8e2ef0
IB
56 actions:
57 - protect_read ~/.config/gnupg
d5458026
IB
58 gnupg_systemd_browser_override:
59 actions:
60 - systemd_daemon_reload
61 - systemd_restart gpg-agent-browser.socket
62 dst: ~/.config/systemd/user/gpg-agent-browser.socket.d/override.conf
63 src: gnupg/systemd/gpg_agent_browser_override.conf
64 trans:
65 - gpg_socket_dir
66 gnupg_systemd_dirmngr_override:
67 actions:
68 - systemd_daemon_reload
69 - systemd_restart dirmngr.socket
70 dst: ~/.config/systemd/user/dirmngr.socket.d/override.conf
71 src: gnupg/systemd/dirmngr_override.conf
72 trans:
73 - gpg_socket_dir
74 gnupg_systemd_extra_override:
75 actions:
76 - systemd_daemon_reload
77 - systemd_restart gpg-agent-extra.socket
78 dst: ~/.config/systemd/user/gpg-agent-extra.socket.d/override.conf
79 src: gnupg/systemd/gpg_agent_extra_override.conf
80 trans:
81 - gpg_socket_dir
82 gnupg_systemd_override:
83 actions:
84 - systemd_daemon_reload
85 - systemd_restart gpg-agent.socket
86 dst: ~/.config/systemd/user/gpg-agent.socket.d/override.conf
87 src: gnupg/systemd/gpg_agent_override.conf
88 trans:
89 - gpg_socket_dir
90 gnupg_systemd_ssh_override:
91 actions:
92 - systemd_daemon_reload
93 - systemd_restart gpg-agent-ssh.socket
94 dst: ~/.config/systemd/user/gpg-agent-ssh.socket.d/override.conf
95 src: gnupg/systemd/gpg_agent_ssh_override.conf
96 trans:
97 - gpg_socket_dir
1950387f 98 graphical_config_files:
7ffbf559
IB
99 actions:
100 - make_xorg_link
1950387f
IB
101 dst: ~/.config
102 src: graphical/config_files
103 graphical_mimeapps_list:
104 dst: ~/.local/share/applications/mimeapps.list
105 src: graphical/mimeapps.list
106 lxde_config_files:
107 dst: ~/.config
108 src: lxde/config_files
109 pam_environment:
110 actions:
111 - make_xdg_dirs
112 - pam_updated
113 dst: ~/.config/pam_environment
114 src: pam_environment
2f8e2ef0
IB
115 trans:
116 - gpg_socket_dir
1950387f
IB
117 prog_haskell_ghci:
118 dst: ~/.ghc/ghci.conf
119 src: programming/haskell/ghci.conf
f414bdd5
IB
120 prog_haskell_stack:
121 dst: ~/.local/share/stack
122 src: programming/haskell/stack
1950387f
IB
123 prog_nodejs_npm:
124 dst: ~/.config/npm/npmrc
125 src: programming/nodejs/npmrc
3cfba315
IB
126 prog_python_startup:
127 dst: ~/.config/python/startup_script.py
128 src: programming/python/startup_script.py
1950387f
IB
129 remind_0_service:
130 actions:
131 - systemd_daemon_reload
132 dst: ~/.config/systemd/user/remind@.service
133 src: remind/remind@.service
134 remind_work:
135 actions:
136 - systemd_enable "remind@work"
137 - systemd_restart "remind@work"
138 dst: ~/.config/remind/work
139 src: remind/work
140 shell_bash_bashrc:
141 actions:
142 - make_bash_dirs
143 dst: ~/.bashrc
144 src: shell_bash/bashrc
145 shell_bash_profile:
146 dst: ~/.bash_profile
147 src: shell_bash/bash_profile
148 tools_mplayer:
149 dst: ~/.config/mplayer/config
150 src: tools/mplayer
05783121
IB
151 tools_pass:
152 dst: ~/.local/share/pass
153 link: true
154 src: password_store
1950387f
IB
155 tools_psql:
156 actions:
157 - make_psql_dirs
158 dst: ~/.config/psql/psqlrc
159 src: tools/psqlrc
160 tools_tmux:
161 dst: ~/.config/tmux/tmux.conf
162 src: tools/tmux.conf
163 tools_vim:
164 actions:
165 - vim_pluginstall
166 dst: ~/.config/vim/vimrc
167 src: tools/vimrc
168 tools_youtube_viewer:
169 dst: ~/.config/youtube-viewer/youtube-viewer.conf
170 src: tools/youtube-viewer.conf
171profiles:
172 _fretlink:
173 dotfiles:
174 - remind_0_service
175 - remind_work
176 - fretlink_config_files
2bd9034d 177 - fretlink_environment_file
1950387f
IB
178 - fretlink_workdir_files
179 include:
180 - _prog_haskell
181 - _prog_nodejs
3cfba315 182 - _prog_python
1950387f
IB
183 _git:
184 dotfiles:
185 - git_config_files
d5458026
IB
186 _gnupg:
187 dotfiles:
188 - gnupg_config_files
189 - gnupg_systemd_browser_override
190 - gnupg_systemd_extra_override
191 - gnupg_systemd_ssh_override
192 - gnupg_systemd_override
193 - gnupg_systemd_dirmngr_override
1950387f
IB
194 _graphical:
195 dotfiles:
196 - graphical_config_files
197 - graphical_mimeapps_list
198 _lxde:
199 dotfiles:
200 - lxde_config_files
201 include:
202 - _graphical
203 _prog_haskell:
204 dotfiles:
205 - prog_haskell_ghci
f414bdd5 206 - prog_haskell_stack
1950387f
IB
207 _prog_nodejs:
208 dotfiles:
209 - prog_nodejs_npm
3cfba315
IB
210 _prog_python:
211 dotfiles:
212 - prog_python_startup
1950387f
IB
213 _shell_bash:
214 dotfiles:
215 - shell_bash_profile
216 - shell_bash_bashrc
217 _tools:
218 dotfiles:
219 - tools_mplayer
05783121 220 - tools_pass
1950387f
IB
221 - tools_psql
222 - tools_tmux
223 - tools_youtube_viewer
224 - tools_vim
225 flony:
226 dotfiles:
227 - pam_environment
228 include:
229 - _git
d5458026 230 - _gnupg
1950387f
IB
231 - _fretlink
232 - _lxde
233 - _shell_bash
234 - _tools
235 init:
236 dotfiles:
237 - pam_environment
2bd9034d
IB
238trans:
239 gpg: gpg2 -q --for-your-eyes-only --no-tty -d {0} > {1}
d5458026
IB
240 gpg_socket_dir: sed -e "s/<<<>>>/$(gpgconf --list-dirs socketdir | cut -d'/' -f6)/"
241 {0} > {1}
1950387f
IB
242variables:
243 features:
244 flony:
245 - graphical_vt
246 - nodejs
247 role:
248 flony: fretlink