-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yaml
84 lines (73 loc) · 2.2 KB
/
config.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
# A config for dot files to be managed by a dotfile manager called dotdrop.
config:
backup: true
banner: true
create: true
dotpath: .
keepdot: false
link_dotfile_default: nolink
link_on_import: nolink
longkey: false
actions:
pre:
catppuccin_delta: which delta && wget https://raw.githubusercontent.com/catppuccin/delta/refs/heads/main/catppuccin.gitconfig -O "{{@@ env['XDG_CONFIG_HOME'] @@}}/git/catppuccin.gitconfig"
catppuccin_bat: which bat && mkdir -p $(bat --config-dir)/themes && wget -P "$(bat --config-dir)/themes" https://github.com/catppuccin/bat/raw/main/themes/Catppuccin%20Mocha.tmTheme && bat cache --build
fzf: test -e "{{@@ env['XDG_CONFIG_HOME'] @@}}/fzf" || (git clone --depth 1 https://github.com/junegunn/fzf.git {{@@ env['XDG_CONFIG_HOME'] @@}}/fzf; {{@@ env['XDG_CONFIG_HOME'] @@}}/fzf/install)
tmux_tpm: test ! -d "{{@@env ['XDG_DATA_HOME'] @@}}/tpm" && git clone https://github.com/tmux-plugins/tpm "{{@@env ['XDG_DATA_HOME'] @@}}/tpm" || echo "tpm already installed"
variables:
link_value: "nolink"
dotfiles:
nvim:
src: nvim
dst: "{{@@ env['XDG_CONFIG_HOME'] @@}}/nvim"
link: "{{@@ link_value @@}}"
vim:
src: vim
dst: "{{@@ env['XDG_CONFIG_HOME'] @@}}/vim"
link: "{{@@ link_value @@}}"
actions:
- fzf
grm:
src: grm
dst: "{{@@ env['XDG_CONFIG_HOME'] @@}}/grm"
link: "{{@@ link_value @@}}"
fish:
src: fish
dst: "{{@@ env['XDG_CONFIG_HOME'] @@}}/fish"
link: "{{@@ link_value @@}}"
git:
src: git
dst: "{{@@ env['XDG_CONFIG_HOME'] @@}}/git"
link: "{{@@ link_value @@}}"
tmux_conf:
src: tmux
dst: "{{@@ env['XDG_CONFIG_HOME'] @@}}/tmux"
link: "{{@@ link_value @@}}"
wezterm_conf_unix:
src: wezterm
dst: "{{@@ env['XDG_CONFIG_HOME'] @@}}/wezterm"
link: "{{@@ link_value @@}}"
wezterm_conf_wsl:
src: wezterm
dst: "/mnt/c/Users/Erik\ Lilja"
chmod: preserve
link: "nolink"
profiles:
nix:
dotfiles:
- vim
- nvim
- wezterm_conf_unix
- fish
- git
- grm
- tmux_conf
variables:
link_value: "link"
actions:
- catppuccin_bat
- catppuccin_delta
- tmux_tpm
wsl:
dotfiles:
- wezterm_conf_wsl