-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstaller.sh
More file actions
executable file
·113 lines (89 loc) · 3 KB
/
installer.sh
File metadata and controls
executable file
·113 lines (89 loc) · 3 KB
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
109
110
111
112
113
#!/bin/sh
# shellcheck disable=SC2086
ec ho "Installing Dependencies and folders"
sudo xbps-install -Syu git xdg-utils xdg-user-dirs
xdg-user-dirs-update
sudo xbps-install -Sy harfbuzz-devel giflib-devel libexif-devel imlib2-devel zathura zathura-pdf-mupdf exa bat dust xrandr libX11-devel libXinerama-devel python3 python3-pip libXrender-devel xorg-utils-macros xwallpaper wget curl zip unzip firefox starship zsh zsh-syntax-highlighting zsh-autosuggestions cmake
echo "Setting fonts"
sudo xbps-install -S noto-fonts-emoji
wget https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/JetBrainsMono.zip
unzip JetBrainsMono.zip
mkdir -p $HOME/.local/share/fonts/JetBrainsMono && mv -- *.ttf $HOME/.local/share/fonts/JetBrainsMono
echo "Font cache"
fc-cache -f -v
sudo ln -s /usr/share/fontconfig/conf.avail/70-no-bitmaps.conf /etc/fonts/conf.d/
sudo xbps-reconfigure -f fontconfig
sudo xbps-install noto-font-ttf
echo "Setting up directories"
mkdir -p $HOME/.local/bin
scripts=~/.local/bin/
mkdir -p $HOME/.local/share/dwm
autostart=~/.local/share/dwm
echo "downloading autostart script"
cd $autostart || exit
wget https://raw.githubusercontent.com/ashincoder/dotfiles-void/master/.local/share/dwm/autostart.sh
chmod +x autostart.sh
cd || exit
echo "Cloning Builds and Scripts"
cd $scripts || exit
git clone https://github.com/ashincoder/scripts.git .
rm -rf .git
config=~/.config/suckless
mkdir -p $config
cd $config || exit
echo "Compiling Dwm"
git clone https://github.com/ashincoder/dwm-ashin.git
sleep 5
cd dwm-ashin || exit
sudo make clean install
cd ..
echo "Compiling St"
git clone https://github.com/ashincoder/st-ashin.git
sleep 5
cd st-ashin || exit
sudo make clean install
cd ..
echo "Compiling Dmenu"
git clone https://github.com/ashincoder/dmenu-ashin.git
sleep 5
cd dmenu-ashin || exit
sudo make clean install
cd .. || exit
echo "Compiling Slstatus"
git clone https://github.com/ashincoder/slstatus-ashin.git
sleep 5
cd slstatus-ashin || exit
sudo make clean install
cd .. || exit
echo "Compiling Sxiv"
git clone https://github.com/ashincoder/sxiv-ashin.git
sleep 5
cd sxiv-ashin || exit
sudo make clean install
cd || exit
echo "Compiling Slock"
git clone https://github.com/ashincoder/slock-ashin.git
sleep 5
cd slock-ashin || exit
sudo make clean install
cd ..
echo "Downloading Wallpapers"
sudo mkdir /usr/share/backgrounds
cd /usr/share/backgrounds/ || exit
sudo wget https://raw.githubusercontent.com/ashincoder/wallpapers/main/neon.png
sudo wget https://raw.githubusercontent.com/ashincoder/wallpapers/main/0023.jpg
sudo mv 0023.jpg nature.jpg
sleep 5
echo "Setting zsh shell"
cd || exit
zdot=~/.config/zsh/
wget https://raw.githubusercontent.com/ashincoder/dotfiles-void/master/.zshenv
mkdir -p $zdot
cd $zdot || exit
wget https://raw.githubusercontent.com/ashincoder/dotfiles-void/master/.config/zsh/.zshrc
chsh $USER
echo "Installing libXft-bgra"
git clone https://github.com/uditkarode/libxft-bgra
cd libxft-bgra || exit
sudo sh autogen.sh --sysconfdir=/etc --prefix=/usr --mandir=/usr/share/man
sudo make install