-
Notifications
You must be signed in to change notification settings - Fork 2
/
install.dotfiles.yaml
83 lines (83 loc) · 2.63 KB
/
install.dotfiles.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
- defaults:
link:
relink: true
create: true
force: true
- clean: ["$BASE_DIR"]
- create:
- $BASE_DIR
- $DIRS_BACKEND
- $DIRS_FRONTEND
- $DIRS_INFRASTRUCTURE
- $DIRS_PLAYGROUND
- shell:
- [git submodule update --init --recursive, Installing submodules]
- [
xcode-select --version | grep -q "version .*" && echo "xcode-select --install",
Checking if Xcode Command Line Tools are installed,
]
- description: Installing homebrew
command: brew -v || /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
stdin: true
stdout: true
quiet: true
- description: Reduce key repeat
command: |
defaults write -g KeyRepeat -int 1;
defaults write -g InitialKeyRepeat -int 10;
stdin: true
stdout: true
quiet: true
- [brew tap Homebrew/bundle, Setup brew bundle]
- description: Installing homebrew dependencies
command: brew bundle
stdout: true
quiet: true
- description: Add fish to /etc/shells
command: /bin/bash -c "grep -Fxq \"/opt/homebrew/bin/fish\" /etc/shells || echo \"/opt/homebrew/bin/fish\" | sudo tee -a /etc/shells"
stdin: true
stderr: true
quiet: true
- description: Making fish the default shell
command: /bin/bash -c "chsh -s /opt/homebrew/bin/fish"
stdin: true
stderr: true
quiet: true
- description: Installing fonts
command: ./install_fonts
quiet: true
- description: Installing fish dependencies
command: ./install_fisher
quiet: true
- link:
$BASE_DIR/.config/fish: config/fish
$BASE_DIR/.config/gitui: config/gitui
$BASE_DIR/.config/k9s: config/k9s
$BASE_DIR/.config/lazydocker: config/lazydocker
$BASE_DIR/.config/nvim: config/nvim
$BASE_DIR/.config/omf: config/omf
$BASE_DIR/.config/skhd: config/skhd
$BASE_DIR/.config/starship.toml: config/starship.toml
$BASE_DIR/.config/tridactyl: config/tridactyl
$BASE_DIR/.config/wezterm: config/wezterm
$BASE_DIR/.config/yabai: config/yabai
$BASE_DIR/.config/zellij: config/zellij
$BASE_DIR/.vale.ini: config/vale.ini
- shell:
- description: Sync vale configuration
command: cd $BASE_DIR && vale sync
quiet: true
stdout: true
stderr: true
- description: Starting yabai
command: yabai --start-service
quiet: true
stderr: true
- command: skhd --start-service
quiet: true
stderr: true
description: Starting skhd
- description: Loading yabai SA
command: sudo yabai --load-sa
quiet: true
stderr: true