-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlocal_to_github.sh
More file actions
executable file
·47 lines (37 loc) · 942 Bytes
/
Copy pathlocal_to_github.sh
File metadata and controls
executable file
·47 lines (37 loc) · 942 Bytes
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
#!/bin/bash
clear
read -p "Set files that will go to Github? (You should only use this if you are me, 9c) [y/N] " confirm
confirm=${confirm,,}
if [[ "$confirm" != "y" && "$confirm" != "yes" ]]; then
echo "Maybe not."
exit 1
fi
echo "Setting up directories..."
mkdir -p fonts/ navi/
echo "Copying fonts and navi..."
cp -r ~/.local/share/fonts/* fonts/
cp -r ~/.local/share/navi/* navi/
echo "Setting up config directory..."
rm -rf .config/
mkdir -p .config/
echo "Copying config files..."
configs=(
"MangoHud"
"mako"
"dunst"
"waybar"
"OKey"
"kitty"
"fish"
"niri"
)
for config in "${configs[@]}"; do
cp -r ~/.config/"$config"/ .config/
done
echo "Copying starship config..."
mkdir -p .config/starship/
cp -r ~/.config/starship/starship.toml .config/starship/
echo "Copying fastfetch config..."
mkdir -p .config/fastfetch/
cp ~/.config/fastfetch/config.jsonc .config/fastfetch/
echo "Done!"