Skip to content
Snippets Groups Projects
Commit 38497263 authored by CALIN Alexis's avatar CALIN Alexis
Browse files

update for arch compatibility and added sway to debian as well

parent ade06ab2
No related branches found
No related tags found
No related merge requests found
mkdir ~/.config/sway && mkdir ~/.config/foot
cp sway/config ~/.config/sway/ && cp foot/foot.ini ~/.config/foot/
\ No newline at end of file
......@@ -14,17 +14,28 @@ if [ "$distro" == "Debian" ]; then
if [ "$yn" == 'y' ]; then
# dwm depedencies
sudo apt install build-essential libx11-dev libxft-dev libxinerama-dev libfreetype6-dev libfontconfig1-dev\
xbacklight alsa-utils
xbacklight alsa-utils xss-lock slock
./install-dwm.sh
./fix-screen-tearing.sh
fi
echo 'Install and setup Sway ? y or n'
read yn
if [ "$yn" == 'y' ]; then
# dwm depedencies
apt install sway brightnessctl
#install bemenu
git clone https://github.com/Cloudef/bemenu && cd bemenu && make && make install && cd .. && rm bemenu
./install-sway.sh
fi
echo 'Install recommended programs ? y or n'
read yn
if [ "$yn" == 'y' ]; then
# programs
sudo apt install network-manager chromium newsboat thunderbird libreoffice pandoc texlive-full xss-lock slock xbacklight neofetch ranger htop
sudo apt install network-manager chromium newsboat thunderbird libreoffice pandoc texlive-full neofetch htop
sudo apt purge gnome-games
sudo systemctl enable --now NetworkManager && echo 'Enabled Network Manager'
echo 'Install VScode ? (y or n)'
......@@ -47,7 +58,51 @@ if [ "$distro" == "Debian" ]; then
elif [ "$distro" == "Arch" ]; then
sudo pacman -Sy
sudo pacman -S base-devel libx11 libxft libxinerama freetype2 fontconfig
echo 'Install and setup DWM ? y or n'
read yn
if [ "$yn" == 'y' ]; then
# dwm depedencies
sudo pacman -S base-devel libx11 libxft libxinerama freetype2 fontconfig
xorg-xbacklight alsa-utils
./install-dwm.sh
./fix-screen-tearing.sh
fi
echo 'Install and setup Sway ? y or n'
read yn
if [ "$yn" == 'y' ]; then
# dwm depedencies
sudo pacman -S sway bemenu brightnessctl
./install-sway.sh
fi
echo 'Install recommended programs ? y or n'
read yn
if [ "$yn" == 'y' ]; then
# programs
pacman -S networkmanager chromium newsboat thunderbird libreoffice pandoc texlive-most neofetch htop
sudo systemctl enable --now NetworkManager && echo 'Enabled Network Manager'
echo 'Install VScode ? (y or n)'
read yn
if [ "$yn" == 'y' ]; then
# vscode
yay -S visual-studio-code-bin
fi
echo 'Install Mullvad vpn ? (y or n)'
read yn
if [ "$yn" == 'y' ]; then
# vscode
yay -S mullvad-vpn && sudo systemctl enable --now mullvad-daemon.service
fi
fi
else
echo 'Non recognized distribution'
echo 'Quitting'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment