-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathupdate.sh
executable file
·72 lines (64 loc) · 2.39 KB
/
update.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
#!/usr/bin/env bash
# _____ _ _____ _____
#| __|___ ___ ___| |_ ___ _ _ _____| | __|
#|__ | . | -_| _| _| _| | | | | |__ |
#|_____| _|___|___|_| |_| |___|_|_|_|_____|_____|
# |_|
# SpectrumOS - Embrace the Chromatic Symphony!
# By: gibranlp <[email protected]>
# MIT licence
#
function install_new_packages() {
packets=(
'fd'
)
for packet in "${packets[@]}"; do
echo "Instalando --> ${packet}"
sudo pacman -S "${packet}" --noconfirm --needed
done
}
function aur_packages() {
packets=(
'rofi-file-browser-extended-git'
)
for packet in "${packets[@]}"; do
echo "Instalando --> ${packet}"
paru -S "${packet}" --noconfirm
done
}
function update(){
#sudo mkdir -p /usr/local/spectrumos
#sudo chown -R $USER:$USER /usr/local/spectrumos
#sudo chmod 775 /usr/local/spectrumos
cp -v -r ~/dotfiles/.config/qtile/* ~/.config/qtile/
# cp -r ~/dotfiles/.config/gromit-mpx.cfg ~/.config/
# cp -r ~/dotfiles/.config/xsettingsd/xsettingsd.conf ~/.config/xsettingsd/
# mkdir -p ~/.icons
# cp -r ~/dotfiles/.icons/* ~/.icons/
# cp -r ~/dotfiles/.local/bin/* ~/.local/bin
#cp -r ~/dotfiles/.local/bin/selectwal ~/.local/bin
#cp -r ~/dotfiles/.local/bin/weather ~/.local/bin
#cp -r ~/dotfiles/.local/bin/alwaystart ~/.local/bin
#cp -r ~/dotfiles/.local/bin/wifi2 ~/.local/bin
# chmod +x ~/.local/bin/*
# cp ~/dotfiles/.zshrc ~/
# mkdir -p ~/.config/flameshot
# cp ~/dotfiles/.config/flameshot/flameshot.ini ~/.config/wal/templates
# cp ~/dotfiles/.config/conky/* ~/.config/wal/templates
# cp ~/dotfiles/.config/alacritty/alacritty.toml ~/.config/alacritty/alacritty.toml
cp -v -r ~/dotfiles/.config/rofi/* ~/.config/rofi/
# cp ~/dotfiles/.config/rofi/SpectrumOS.rasi ~/.config/wal/templates
# cp ~/dotfiles/.config/cava/config ~/.config/wal/templates
#cp ~/dotfiles/.config/picom/picom.conf ~/.config/picom/picom.conf
# cp ~/dotfiles/.shortcuts ~/
# sudo cp ~/dotfiles/logid.cfg /etc/
cp ~/dotfiles/.config/dunst/dunstrc ~/.config/wal/templates
# cp ~/dotfiles/.config/neofetch/config.conf ~/.config/neofetch/
### Add new Lightdm Theme
#sudo cp -v ~/dotfiles/lightdm/lightdm.conf /etc/lightdm/
#sudo cp -v ~/dotfiles/lightdm/lightdm-webkit2-greeter.conf /etc/lightdm
#sudo cp -v -r ~/dotfiles/lightdm/theme/SpectrumOS /usr/share/lightdm-webkit/themes/
}
#install_new_packages
#aur_packages
update