-
Notifications
You must be signed in to change notification settings - Fork 1
/
install.sh
executable file
·108 lines (81 loc) · 2.84 KB
/
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
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
98
99
100
101
102
103
104
105
106
107
108
#!/bin/bash
RED="\e[31m"
GREEN="\e[32m"
END="\e[0m"
YELLOW="\e[33m"
MAGENTA="\e[35m"
BOLDGREEN="\e[1;${GREEN}m"
ITALICRED="\e[3;${RED}m"
oldunst(){
#
# cd /bin/
# sudo rm dunst*
# sudo sudo wget https://github.com/shadowelite-sec/scripts/raw/main/dunst/dunst
# sudo wget https://github.com/shadowelite-sec/scripts/raw/main/dunst/dunstify
# sudo wget https://raw.githubusercontent.com/shadowelite-sec/scripts/main/dunst/dunstctl
# sudo chmod +x /bin/dunst*
sudo downgrade dunst
}
mpd_fix(){
mkdir ~/.config/mpd/playlists
mkdir ~/Music
}
git_cfg(){
git config --global user.email "[email protected]"
git config --global user.name "shadowelite"
git config --global credential.helper store
git config --global core.editor nvim
}
#install depen*
echo -e "${RED}Installing Dependencies....${END}"
sudo pacman -Syy --noconfirm && sudo pacman -S --noconfirm archlinux-keyring xorg xorg-xinit sxhkd polybar rofi picom kitty zsh feh flameshot wget dunst mugshot mpv piper jq sxiv lolcat bat noto-fonts-emoji fzf npm brightnessctl zathura-pdf-mupdf xclip python3 python-pip neovim mpd ncmpcpp imagemagick xautolock xdotool mpc npm i3lock net-tools bluez bluez-utils pulseaudio-bluetooth pulsemixer stow unzip zip gzip p7zip xf86-input-libinput ntfs-3g slop shotgun maim zbar gvfs-mtp gvfs tumbler ffmpegthumbnailer screenkey bucklespring yad
#install old dusnt
mpd_fix
git_cfg
#clear
#make config dir``
if [ -f ~/.config ]
then
mkdir ~/.config
else
echo -e "\n${RED}File already exist. skiping....${END}"
fi
#Install local
echo -e "\n${GREEN}Copying Config Files....${END}"
stow */
#additionl pkgs
echo "${YELLOW}Installing additional pkgs....${END}"
sudo pacman -S --noconfirm cmus cmatrix ranger starship telegram-desktop firefox thunar-volman thunar-media-tags-plugin thunar-archive-plugin
#yay pkg
git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si
yay -S mugshot bspwm-rounded-corners cava toilet bluez-hciconfig bluez-hcitool android-bash-completion batify downgrade
#nvim plug
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
#pip3 modules
sleep 0.5
pip3 install pywal ueberzug
#install pywalfox
sudo pip install pywalfox
pywalfox install
#install emoji
sleep 0.5
#sudo npm install -g @duhdugg/emocli
echo "Done 🐉"
#backlight auto
sudo cp -r rc.local /etc/
sudo bash -c "echo "_JAVA_AWT_WM_NONREPARENTING=1" >>/etc/environment"
sudo bash -c "echo "gtk-application-prefer-dark-theme=1" >> /usr/share/gtk-3.0/settings.ini"
fc-cache -f -v 2>/dev/null
oldunst
echo "${BOLDGREEN}ALL DONE${END}"
read -p "Installation Finshed, Do You Want To Reboot Your System Now ?! " yn
case $yn in
yes ) echo system rebooting in 5 sec ....;;
no ) echo skiping...;
exit;;
* ) echo invalid selection;
exit 1;;
esac
sleep 5
reboot