-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
executable file
·35 lines (26 loc) · 1013 Bytes
/
install.sh
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
#! /bin/sh
rm -f ~/.gitconfig
ln -s $(pwd)/git/.gitconfig ~/.gitconfig
rm -f ~/.gitignore
ln -s $(pwd)/git/.gitignore ~/.gitignore
rm -f ~/.config/Code/User/settings.json
ln -s $(pwd)/vscode/settings.json ~/.config/Code/User/settings.json
rm -f ~/.config/Code/User/keybindings.json
ln -s $(pwd)/vscode/keybindings.json ~/.config/Code/User/keybindings.json
rm -rf ~/.config/fish
ln -s $(pwd)/fish ~/.config/fish
rm -rf ~/.tmux.conf
ln -s $(pwd)/tmux/.tmux.conf ~/.tmux.conf
rm -rf ~/.gitmux.conf
ln -s $(pwd)/tmux/.gitmux.conf ~/.gitmux.conf
rm -rf ~/.tmux/plugins/tmux/custom
ln -s $(pwd)/tmux/modules/ ~/.tmux/plugins/tmux/custom
rm -rf ~/brain/.obsidian
ln -s $(pwd)/obsidian ~/brain/.obsidian
# We can't symlink this one (/home won't be mounted yet)
cp $(pwd)/xkb/us /usr/share/X11/xkb/symbols/us
# Install fonts and refresh font cache
cp -r $(pwd)/fonts/agave-nerd-font /usr/share/fonts/
fc-cache -fv
# Set time locale to have monday as first day of the week
localectl set-locale LC_TIME=en_DK.UTF-8