-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.sh
57 lines (35 loc) · 870 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#!/bin/bash
#! Written By Pardesi_Cat <https://pardesicat.xyz>
files="requirements.txt"
fextra="extra.txt"
cleann () {
echo
echo -e "clean and updating system"
sudo rm -rf /var/cache/pacman
sudo pacman -Syu
sudo rm -rf /var/cache/pacman
}
pmr () {
cd $(pwd)
xargs sudo pacman --needed --noconfirm -S
}
echo -e "This script will download and replace the personal configs of"
echo
echo -e "Pardesi_Cat"
echo
echo -e "That is for DWM used and confis will install user home folder"
echo
echo -e "note : only for arch linux"
sleep 4
cleann
echo -e "installing $printf "$files" using pacman"
echo
pmr < $files
sleep 2
cleann
sleep 2
cp -r $(pwd)/xinitrc $HOME/
mv $HOME/xinitrc $HOME/.xinitrc
cp -r $(pwd)/alacritty $HOME/.config/
mkdir $HOME/Pictures/pcatwallpapers
cp -r $(pwd)/wallpapers/* $HOME/Pictures/pcatwallpapers/