-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhelper.sh
65 lines (52 loc) · 1.69 KB
/
helper.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
dots-install::hyprland() {
echo "* creating hyprland symbolic link"
ln -fs "$HERE/hypr" "/home/$USER/.config/"
}
dots-install::wallpaper() {
echo "* creating wallpaper symlink"
$SUDO ln -fs "$1" /usr/share/hypr/wall0.png
}
dots-install::waybar() {
echo "* creating waybar symbolic link"
ln -fs "$HERE/waybar" "/home/$USER/.config/"
}
dots-install::fabric() {
echo "* creating fabric symbolic link"
ln -fs "$HERE/fabric" "/home/$USER/.config/"
}
dots-install::neovim() {
echo "* creating neovim symbolic link"
ln -fs "$HERE/nvim" "/home/$USER/.config/"
}
dots-install::shell() {
echo "* creating zshrc symbolic link"
ln -fs "$HERE/zshrc" "/home/$USER/.zshrc"
}
dots-install::applications() {
echo "* creating application symbolic links"
mkdir -p ~/.config/kitty
ln -fs "$HERE/kitty.conf" "/home/$USER/.config/kitty/kitty.conf"
mkdir -p ~/.config/alacritty
ln -fs "$HERE/alacritty.toml" "/home/$USER/.config/alacritty/alacritty.toml"
ln -fs "$HERE/rofi" "/home/$USER/.config/"
mkdir -p ~/.config/Vencord/themes
ln -fs "$HERE/Vencord/themes/rxyhn.theme.css" "/home/$USER/.config/Vencord/themes/rxyhn.theme.css"
}
dots-install::neofetch() {
echo "* creating neofetch symbolic link"
ln -fs "$HERE/neofetch" "/home/$USER/.config/"
}
dots-install::matrix-iamb() {
echo "* creating iamb config symbolic links"
ln -fs "$HERE/iamb" "/home/$USER/.config/"
}
dots-install::fonts() {
echo "* installing fonts in /usr/share/fonts"
$SUDO cp -r "$HERE/fonts/"* /usr/share/fonts
echo "* reloading font cache"
fc-cache -fv > /dev/null
}
dots-install::bins() {
echo "* installing bin/* to /usr/local/bin/"
$SUDO find bin -type f -exec ln -fs "$HERE/"{} "/usr/local/bin" \;
}