-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.conf.yaml
149 lines (145 loc) · 4.23 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
- defaults:
link:
relink: true
- clean:
"~":
"~/.config":
"~/.config/dotfiles-env":
"~/.config/nnn/plugins/":
force: true
"~/.scripts":
"~/.tmux/scripts":
force: true
"~/.vim":
- create:
- ~/wa
- ~/.config/dotfiles-env
- ~/.log
- ~/.scripts
- ~/.tmux/scripts
- ~/.tmux/plugins
- ~/.vim
- shell:
- [git submodule update --init --recursive, "Updating submodules"]
- [rm ~/.config/dotfiles-env/* || true, "Cleaning dotfiles-env"]
-
command: |
if [ "$(uname)" = Darwin ]; then
if [ "$DOTFILES_WITH_APPS" = 1 ]; then
mkdir -p "$HOME/Library/Application Support/Code/User"
fi
mkdir -p "$HOME/Library/Application Support/nushell"
elif [ "$(uname)" = Linux ]; then
mkdir -p "$HOME/.config/nushell"
fi
description: Creating OS-specific folders
quiet: true
-
command: |
if [ ! -L "$HOME/.zshrc" ] && [ -f "$HOME/.zshrc" ]; then
mv "$HOME/.zshrc" "$HOME/.zshrc.dotfiles.bck"
fi
if [ ! -L "$HOME/.bashrc" ] && [ -f "$HOME/.bashrc" ]; then
mv "$HOME/.bashrc" "$HOME/.bashrc.dotfiles.bck"
fi
description: Possibly making backup of existing bashrc and zshrc
quiet: true
- [make -C ble.sh, "Creating ble.sh script"]
- link:
~/.amethyst:
path: etc/amethyst.json
if: '[ $(uname) = Darwin ]'
~/.awk:
~/.bashrc: bash/bashrc
~/Brewfile:
path: etc/Brewfile
if: '[ "$DOTFILES_WITH_BREW" = 1 ]'
~/.config/alacritty:
if: '[ "$DOTFILES_WITH_APPS" = 1 ]'
~/.config/atuin:
~/.config/btop:
~/.config/dotfiles-env/is_lightweight:
path: dotfiles-env/is_lightweight
if: '[ "$DOTFILES_IS_LIGHTWEIGHT" = 1 ]'
~/.config/dotfiles-env/with_apps:
path: dotfiles-env/with_apps
if: '[ "$DOTFILES_WITH_APPS" = 1 ]'
force: true
~/.config/dotfiles-env/with_asdf:
path: dotfiles-env/with_asdf
if: '[ "$DOTFILES_WITH_ASDF" = 1 ]'
~/.config/dotfiles-env/with_lsp:
path: dotfiles-env/with_lsp
if: '[ "$DOTFILES_WITH_LSP" = 1 ]'
~/.config/dotfiles-env/with_virt:
path: dotfiles-env/with_virt
if: '[ "$DOTFILES_WITH_VIRT" = 1 ]'
~/.config/fastfetch:
~/.config/fzf:
~/.config/ghostty:
if: '[ "$DOTFILES_WITH_APPS" = 1 ]'
~/.config/helix:
~/.config/lsd:
~/.config/mpv:
if: '[ "$DOTFILES_WITH_APPS" = 1 ]'
~/.config/neofetch:
~/.config/nnn/plugins:
create: true
glob: true
path: nnn/plugins/*
~/.config/nnn/plugins/.iconlookup: nnn/plugins/.iconlookup
~/.config/nushell:
glob: true
path: nushell/*
if: '[ "$(uname)" = Linux ]'
~/.config/nvim:
~/.config/spotify-tui:
if: '[ "$DOTFILES_WITH_APPS" = 1 ]'
~/.config/starship.toml: etc/starship.toml
~/.config/vifm:
~/.default-npm-packages:
path: asdf/default-npm-packages
if: '[ "$DOTFILES_WITH_ASDF" = 1 ]'
~/.default-perl-modules:
path: asdf/default-perl-modules
if: '[ "$DOTFILES_WITH_ASDF" = 1 ]'
~/.default-python-packages:
path: asdf/default-python-packages
if: '[ "$DOTFILES_WITH_ASDF" = 1 ]'
~/.gitconfig:
~/Library/Application Support/Code/User:
glob: true
path: vscode/*
if: '[ "$DOTFILES_WITH_APPS" = 1 ] && [ "$(uname)" = Darwin ]'
~/Library/Application Support/nushell:
glob: true
path: nushell/*
if: '[ "$(uname)" = Darwin ]'
~/.scripts:
glob: true
path: scripts/*
~/.scripts/iconlookup: nnn/plugins/.iconlookup
~/.scripts/tmux-list-keys: tmux/scripts/tmux-list-keys
~/.scripts/tmux-restore: tmux/scripts/tmux-restore
~/.shell:
~/.p10k.zsh: zsh/p10k.zsh
~/.tmux.conf: tmux/tmux.conf
~/.tmux/scripts:
glob: true
path: tmux/scripts/*
exclude:
- tmux/scripts/tmux-*
~/.tmux/plugins/tpm: tmux/tpm
~/.tool-versions:
path: asdf/tool-versions
if: '[ "$DOTFILES_WITH_ASDF" = 1 ]'
~/.vim/lsp.vim:
path: vim/lsp.vim
if: '[ "$DOTFILES_WITH_LSP" = 1 ]'
~/.vim/lsp_plugins.vim:
path: vim/lsp_plugins.vim
if: '[ "$DOTFILES_WITH_LSP" = 1 ]'
~/.vim/vimrc: vim/vimrc
~/vusec.ascii:
~/.zsh_plugins.txt: zsh/plugins.txt
~/.zshrc: zsh/zshrc