summaryrefslogtreecommitdiff
path: root/install.yaml
blob: 1d5666341d836fc9c0e10b30f6fcc63cd5ce141c (plain)
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
# Commands to install / uninstall symlinks
commands:
    up: rm -rf {target} && mkdir -p $(dirname {target}) && ln -s {path}/{file} {target}
    down: rm -rf {target}


# Default targets
default:
    - bin
    - .bashrc
    - .gitconfig
    - .git_template
    - .inputrc
    - .latexmkrc
    - .mbsyncrc
    - .mutt
    - .msmtprc
    - .ncmpcpp
    - .surfraw.bookmarks
    - .tmux.conf
    - .urxvt
    - .vim
    - .vifm
    - .xinitrc
    - .Xresources
    - .zsh

# Special targets
special:
    .dunstrc: ~/.config/dunst/dunstrc
    .i3/config: ~/.config/i3/config
    .i3/i3status.conf: ~/.config/i3status/config
    .mr/mrconfig: ~/.mrconfig
    .mr/mrtrust: ~/.mrtrust
    .newsbeuter: ~/.config/newsbeuter
    .vim/vimrc: ~/.vimrc
    .qutebrowser: ~/.config/qutebrowser
    .qutebrowser/userscripts: ~/.local/share/qutebrowser/userscripts
    .passwords: ~/.password-store
    .zathurarc: ~/.config/zathura/zathurarc
    .zsh/zgen: ~/.zgen
    .zsh/zshrc: ~/.zshrc

# Additional actions before symlink
pre:
    .mutt: |
        mkdir -p {path}/.mutt/temp
        mkdir -p {path}/.mutt/cache
        mkdir -p {path}/.mutt/bodies

    .vim: |
        mkdir -p {path}/.vim/vimundo