-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathinstall.sh
More file actions
173 lines (159 loc) · 3.81 KB
/
install.sh
File metadata and controls
173 lines (159 loc) · 3.81 KB
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
#!/bin/bash
set -e
if [ "$(uname)" == "Darwin" ]; then
echo "Installing for macOS"
if ! command -v brew >/dev/null; then
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
source "$HOME/.zprofile"
fi
brew install antidote
brew install betterdisplay
brew install bitwarden
brew install ca-certificates
brew install cmake
brew install direnv
brew install discord
brew install docker-compose
brew install fd
brew install fzf
brew install git-delta
brew install gnu-sed
brew install highlight
brew install keycastr
brew install lazydocker
brew install lazygit
brew install ncdu
brew install neovim
brew install neovim-remote
brew install npm
brew install nvm
brew install protobuf
brew install pyenv
brew install ripgrep
brew install skhd
brew install tmux
brew install tmuxinator
brew install tmuxinator-completion
brew install tree-sitter
brew install treesitter
brew install universal-ctags
brew install uv
brew install wget
brew install wget
brew install yabai
brew install --cask docker
brew install --cask signal
brew install --cask unnaturalscrollwheels
brew install --cask betterdisplay
brew install --cask wezterm
brew install --cask spotmenu
brew install --cask jordanbaird-ice
brew tap homebrew/cask-fonts
brew install font-terminess-ttf-nerd-font
# set up docker compose symlins (as suggested by brew)
mkdir -p ~/.docker/cli-plugins
ln -sfn /opt/homebrew/opt/docker-compose/bin/docker-compose ~/.docker/cli-plugins/docker-compose
else
echo "Installing for macOS"
# install yay if not already installed
if ! command -v yay >/dev/null; then
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
cd ..
rm -rf yay
fi
yay -Syyu --noconfirm \
alacritty \
antibody \
bitwarden-bin \
ctags \
ctop-bin \
dunst \
elixir \
elixir-ls \
fd \
ffmpegthumbnailer \
firefox \
fzf \
git-delta \
gnupg \
gotop \
highlight \
i3-gaps \
i3lock \
imagemagick \
kbdlight \
lua-format \
lua-language-server \
maim \
mons \
mpv \
mullvad-vpn-bin \
ncdu \
neomutt \
neovim \
neovim-remote \
nerd-fonts-terminus \
networkmanager \
nm-connection-editor \
noto-fonts \
npm \
ntp \
openssh \
polybar \
pulseaudio \
pulseaudio-alsa \
pulsemixer \
pyenv \
python-pip \
python-pynvim \
ranger \
redshift \
ripgrep \
rofi \
sc-im \
sxiv \
terminus-font-ttf \
terraform-ls \
tmux \
tmuxinator \
unzip \
urlscan \
uv \
w3m \
wget \
xbanish \
xclip \
xdotool \
xorg \
xorg-xinit \
xss-lock \
zathura \
zathura-pdf-mupdf \
zip \
zsh
# start network manager
systemctl enable --now NetworkManager
# ensure time is correct
timedatectl set-ntp true
# additional optional setup
if [ -e "$1" ]; then
# setup postgres for development
yay -S --noconfirm \
spotify \
noto-fonts-cjk \
nodejs-neovim \
ruby-neovim \
python2-pynvim \
libreoffice \
texlive
fi
fi
uv tool install pywal
uv tool install ranger-fm
# apply theme
wal --theme base16-gruvbox-medium
mkdir -p ~/.cache/zsh
touch ~/.cache/zsh/history
mkdir -p ~/.ssh