-
Notifications
You must be signed in to change notification settings - Fork 0
/
symlinks.yaml
76 lines (63 loc) · 2.16 KB
/
symlinks.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
################################################################
# symlinks.yaml - dotbot symlink config #
################################################################
# creates needed directories and symlinks dotfiles to their #
# respective locations #
################################################################
# dotbot global configs
- defaults:
link:
create: true
relink: true
force: true
# directories to clean
- clean: ["~", "${XDG_CONFIG_HOME}"]
# shell scripts to run
- shell:
- description: set XDG environment variables
command: source ./config/zsh/.zshenv
- description: create .hushlogin file
command: touch ~/.hushlogin
# directories to create
- create:
- ~/Applications
- ~/Developer
- ~/Documents
- ~/Downloads
- ~/Setup
- ~/.local/var/cache/zsh
# dotfile symlink mappings
- link:
# zsh configs
~/.zshenv: { path: config/zsh/.zshenv, force: true }
${XDG_CONFIG_HOME}/zsh: config/zsh
# bash configs
~/.bash_profile: config/bash/.bash_profile
~/.bashrc: config/bash/.bashrc
# git configs
${XDG_CONFIG_HOME}/git: config/git
${XDG_CONFIG_HOME}/lazygit: config/lazygit
# wezterm configs
${XDG_CONFIG_HOME}/wezterm: config/wezterm
# tmux configs
${XDG_CONFIG_HOME}/tmux: config/tmux
${XDG_DATA_HOME}/tmux/tpm: vendor/tpm
${XDG_DATA_HOME}/tmux/plugins/tpm: vendor/tpm
# nvim configs
${XDG_CONFIG_HOME}/nvim: config/nvim
# other configs
${XDG_CONFIG_HOME}/bat/config: config/bat/config
${XDG_CONFIG_HOME}/bat/themes: vendor/catppuccin-bat/themes
${XDG_CONFIG_HOME}/btop: config/btop
${XDG_CONFIG_HOME}/fastfetch: config/fastfetch
${XDG_CONFIG_HOME}/oh-my-posh: config/oh-my-posh
${XDG_CONFIG_HOME}/yazi: config/yazi
# vscodium (location is os specific)
~/Library/Application Support/VSCodium/User/settings.json:
if: "[ `uname` = Darwin ]"
path: config/vscodium/settings.json
force: true
${XDG_CONFIG_HOME}/VSCodium/User/settings.json:
if: "[ `uname` = Linux ]"
path: config/vscodium/settings.json
force: true