-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.sh
executable file
·97 lines (61 loc) · 2.14 KB
/
init.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
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
#!/bin/bash
# _ _ _ _ _ __ _ _
# (_)_ __ (_) |_ __| | ___ | |_ / _(_) | ___ ___
# | | '_ \| | __| / _` |/ _ \| __| |_| | |/ _ \/ __|
# | | | | | | |_ | (_| | (_) | |_| _| | | __/\__ \
# |_|_| |_|_|\__| (_)__,_|\___/ \__|_| |_|_|\___||___/
# by Rasmus Enevoldsen
# ----------------------------------------------------
# This is a script to symlink all the dotfiles into the correct places.
# ---------------------------
# fonts: jetbrainsmono nerd font
# ---------------------------
mkdir -p ~/.local/share/fonts/JetBrainsMono/
cd ~/Downloads/
wget https://github.com/ryanoasis/nerd-fonts/releases/download/v3.0.2/JetBrainsMono.zip
mv ~/Downloads/JetBrainsMono.zip ~/.local/share/fonts/JetBrainsMono/
cd ~/.local/share/fonts/JetBrainsMono/
unzip JetBrainsMono.zip
rm JetBrainsMono.zip
fc-cache -f -v
# ---------------------------
# Hyprland
# ---------------------------
mkdir -p ~/.config/hypr/
ln -s ~/.dotfiles/hypr/* ~/.config/hypr/
# ---------------------------
# zsh
# ---------------------------
mkdir ~/.config/zsh/
ln -s ~/.dotfiles/zsh/* ~/.config/zsh/
ln -s ~/.dotfiles/zsh/.* ~/.config/zsh/
# ---------------------------
# git
# ---------------------------
ln -s ~/.dotfiles/git/* ~/.config/git/
# ---------------------------
# neovim
# ---------------------------
# neovim is special because I use a preconfigured setup.
git clone https://github.com/NvChad/NvChad ~/.config/nvim --depth 1 && nvim
mkdir -p ~/.config/nvim/lua/custom/
ln -s ~/.dotfiles/neovim_chad_custom/* ~/.config/nvim/lua/custom/
ln -s ~/.dotfiles/neovim_chad_custom/.* ~/.config/nvim/lua/custom/
# ---------------------------
# wallpaper & pywal
# ---------------------------
# download pywal
mkdir ~/.config/wal/
ln -s ~/.dotfiles/wal/templates/* ~/.config/wal/
mkdir ~/.local/share/wallpapers/
ln -s ~/.dotfiles/wallpapers/* ~/.local/share/wallpapers/
# ---------------------------
# waybar
# ---------------------------
mkdir ~/.config/waybar
ln -s ~/.dotfiles/waybar/* ~/.config/waybar/
# ---------------------------
# kitty
# ---------------------------
mkdir ~/.config/kitty
ln -s ~/.dotfiles/kitty/* ~/.config/kitty/