Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update setup.sh #7

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ else
sleep 1
echo -e "\n\n${blueColour}[*] Installing necessary packages for the environment...\n${endColour}"
sleep 2
sudo apt install -y kitty rofi feh xclip ranger i3lock-fancy scrot scrub wmname firejail imagemagick cmatrix htop neofetch python3-pip procps tty-clock fzf lsd bat pamixer flameshot
sudo pacman -S kitty rofi feh xclip ranger i3lock-fancy scrot scrub wmname firejail imagemagick cmatrix htop neofetch python3-pip procps tty-clock fzf lsd bat pamixer flameshot
if [ $? != 0 ] && [ $? != 130 ]; then
echo -e "\n${redColour}[-] Failed to install some packages!\n${endColour}"
exit 1
Expand All @@ -72,7 +72,7 @@ else

echo -e "\n${purpleColour}[*] Installing necessary dependencies for bspwm...\n${endColour}"
sleep 2
sudo apt install -y build-essential git vim libxcb-util0-dev libxcb-ewmh-dev libxcb-randr0-dev libxcb-icccm4-dev libxcb-keysyms1-dev libxcb-xinerama0-dev libasound2-dev libxcb-xtest0-dev libxcb-shape0-dev libuv1-dev
sudo pacman -S build-essential git vim libxcb-util0-dev libxcb-ewmh-dev libxcb-randr0-dev libxcb-icccm4-dev libxcb-keysyms1-dev libxcb-xinerama0-dev libasound2-dev libxcb-xtest0-dev libxcb-shape0-dev libuv1-dev
if [ $? != 0 ] && [ $? != 130 ]; then
echo -e "\n${redColour}[-] Failed to install some dependencies for bspwm!\n${endColour}"
exit 1
Expand All @@ -83,7 +83,7 @@ else

echo -e "\n${purpleColour}[*] Installing necessary dependencies for polybar...\n${endColour}"
sleep 2
sudo apt install -y cmake cmake-data pkg-config python3-sphinx libcairo2-dev libxcb1-dev libxcb-util0-dev libxcb-randr0-dev libxcb-composite0-dev python3-xcbgen xcb-proto libxcb-image0-dev libxcb-ewmh-dev libxcb-icccm4-dev libxcb-xkb-dev libxcb-xrm-dev libxcb-cursor-dev libasound2-dev libpulse-dev libjsoncpp-dev libmpdclient-dev libcurl4-openssl-dev libnl-genl-3-dev
sudo pacman -S cmake cmake-data pkg-config python3-sphinx libcairo2-dev libxcb1-dev libxcb-util0-dev libxcb-randr0-dev libxcb-composite0-dev python3-xcbgen xcb-proto libxcb-image0-dev libxcb-ewmh-dev libxcb-icccm4-dev libxcb-xkb-dev libxcb-xrm-dev libxcb-cursor-dev libasound2-dev libpulse-dev libjsoncpp-dev libmpdclient-dev libcurl4-openssl-dev libnl-genl-3-dev
if [ $? != 0 ] && [ $? != 130 ]; then
echo -e "\n${redColour}[-] Failed to install some dependencies for polybar!\n${endColour}"
exit 1
Expand All @@ -94,7 +94,7 @@ else

echo -e "\n${purpleColour}[*] Installing necessary dependencies for picom...\n${endColour}"
sleep 2
sudo apt install -y meson libxext-dev libxcb1-dev libxcb-damage0-dev libxcb-xfixes0-dev libxcb-shape0-dev libxcb-render-util0-dev libxcb-render0-dev libxcb-randr0-dev libxcb-composite0-dev libxcb-image0-dev libxcb-present-dev libxcb-xinerama0-dev libpixman-1-dev libdbus-1-dev libconfig-dev libgl1-mesa-dev libpcre2-dev libpcre3-dev libevdev-dev uthash-dev libev-dev libx11-xcb-dev libxcb-glx0-dev
sudo pacman -S meson libxext-dev libxcb1-dev libxcb-damage0-dev libxcb-xfixes0-dev libxcb-shape0-dev libxcb-render-util0-dev libxcb-render0-dev libxcb-randr0-dev libxcb-composite0-dev libxcb-image0-dev libxcb-present-dev libxcb-xinerama0-dev libpixman-1-dev libdbus-1-dev libconfig-dev libgl1-mesa-dev libpcre2-dev libpcre3-dev libevdev-dev uthash-dev libev-dev libx11-xcb-dev libxcb-glx0-dev
if [ $? != 0 ] && [ $? != 130 ]; then
echo -e "\n${redColour}[-] Failed to install some dependencies for picom!\n${endColour}"
exit 1
Expand All @@ -117,7 +117,7 @@ else
echo -e "\n${redColour}[-] Failed to install bspwm!\n${endColour}"
exit 1
else
sudo apt install bspwm -y
sudo pacman -Spwm -y
echo -e "\n${greenColour}[+] Done\n${endColour}"
sleep 1.5
fi
Expand Down