blob: 0a791338818d205d774488e9aff82d3a5d55e1bb (
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
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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
|
sections:
# Installs brew on macOS
install-brew:
preconditions:
os: "macos"
not-installed:
- "brew"
steps:
- ==: run
command: "/bin/bash -c \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)\""
# Install oh-my-zsh
install-oh-my-zsh:
tags: ["config"]
preconditions:
not-present:
- ~/.oh-my-zsh
steps:
- ==: run
command: "sh -c \"$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)\""
# Copy zsh configurations
configure-zsh:
tags: ["config"]
directory: "zsh"
steps:
- ==: link
from: .zshrc
to: ~/.zshrc
- ==: run
command: "mkdir -p ~/.config/zsh"
- ==: link
from: config/aliases.zsh
to: ~/.config/zsh/aliases.zsh
- ==: link
from: config/environment.zsh
to: ~/.config/zsh/environment.zsh
- ==: link
from: config/prompt.zsh
to: ~/.config/zsh/prompt.zsh
- ==: run
command: "mkdir -p ~/.config/zsh/other"
notes:
- "Remember to change shell to zsh"
# Copy vim configurations
configure-vim:
directory: "vim"
tags: ["config"]
steps:
- ==: run
command: "mkdir -p ~/.config/nvim/"
- ==: run
command: "mkdir -p ~/.config/nvim/lua"
- ==: link
from: .vimrc
to: ~/.vimrc
- ==: link
from: nvim/init.lua
to: ~/.config/nvim/init.lua
- ==: link
from: nvim/lua/plugins.lua
to: ~/.config/nvim/lua/plugins.lua
notes:
- "For nvim, run :PackerInstall"
# Install packer.nvim
install-packer-nvim:
tags: ["config"]
steps:
- ==: run
command: "git clone --depth 1 https://github.com/wbthomason/packer.nvim ~/.local/share/nvim/site/pack/packer/start/packer.nvim"
# Copy iterm2 configurations for macOS
configure-iterm2:
directory: "iterm2"
tags: ["config"]
preconditions:
os: "macosdsakjghajsdhlsjg"
# Copy iterm2 configurations for macOS
configure-git:
directory: "git"
tags: ["config"]
steps:
- ==: link
preconditions:
os: "macos"
from: .gitconfig-macos
to: ~/.gitconfig
- ==: link
from: .gitignore_global
to: ~/.gitignore_global
# Copy tmux configurations
configure-tmux:
directory: "tmux"
tags: ["config"]
steps:
- ==: link
from: .tmux.conf
to: ~/.tmux.conf
# Copy alacritty configurations
configure-alacritty:
directory: "alacritty"
tags: ["config"]
preconditions:
os: "linux"
steps:
- ==: run
command: "mkdir -p ~/.config/alacritty"
- ==: link
from: alacritty.yml
to: ~/.config/alacritty/alacritty.yml
# Copy mako configurations
configure-mako:
directory: "mako"
tags: ["config"]
preconditions:
os: "linux"
steps:
- ==: run
command: "mkdir -p ~/.config/mako"
- ==: link
from: config
to: ~/.config/mako/config
# Copy rofi configurations
configure-rofi:
directory: "rofi"
tags: ["config"]
preconditions:
os: "linux"
steps:
- ==: run
command: "mkdir -p ~/.config/rofi"
- ==: link
from: config.rasi
to: ~/.config/rofi/config.rasi
# Copy sway configurations
configure-sway:
directory: "sway"
tags: ["config"]
preconditions:
os: "linux"
steps:
- ==: run
command: "mkdir -p ~/.config/sway"
- ==: link
from: config
to: ~/.config/sway/config
- ==: link
from: wallpaper.jpg
to: ~/.config/sway/wallpaper.jpg
- ==: run
command: "cp input.cfg ~/.config/sway/input.cfg"
- ==: run
command: "cp output.cfg ~/.config/sway/output.cfg"
# Copy waybar configurations
configure-waybar:
directory: "waybar"
tags: ["config"]
preconditions:
os: "linux"
steps:
- ==: run
command: "mkdir -p ~/.config/waybar"
- ==: run
command: "mkdir -p ~/.config/waybar/scripts"
- ==: link
from: config
to: ~/.config/waybar/config
- ==: link
from: style.css
to: ~/.config/waybar/style.css
- ==: link
from: scripts/mediaplayer.py
to: ~/.config/waybar/scripts/mediaplayer.py
|