renamed: Fonts for design.zip -> src/Fonts for design.zip

renamed:    change_firefox_esr_to_firefox.sh -> src/shell_scripts/change_firefox_esr_to_firefox.sh
	renamed:    codecs_and_tweaks_installer.sh -> src/shell_scripts/codecs_and_tweaks_installer.sh
	renamed:    fonts.sh -> src/shell_scripts/fonts.sh
	renamed:    install_apps.sh -> src/shell_scripts/install_apps.sh
	renamed:    install_extensions.sh -> src/shell_scripts/install_extensions.sh
	renamed:    pos_install_complete.sh -> src/shell_scripts/pos_install_complete.sh
	renamed:    radeon_to_amdgpu.sh -> src/shell_scripts/radeon_to_amdgpu.sh
	renamed:    unnecessary_apps_remover.sh -> src/shell_scripts/unnecessary_apps_remover.sh
This commit is contained in:
phaleixo
2025-06-06 19:05:46 -03:00
parent 2854c5010c
commit 46ffda41b2
39 changed files with 10 additions and 10 deletions

View File

@@ -0,0 +1,91 @@
#!/usr/bin/env bash
### Initial message
echo -e "\n ############################################################"
echo -e " # Install and configure Wallpapers #"
echo -e " ############################################################ \n"
echo "For more information, visit the project link:"
echo "https://github.com/phaleixo/after_install_debian_12"
### Confirm script execution
read -p "Do you want to proceed? (y/n): " response
[[ "$response" != "y" ]] && inform "Operation canceled by the user." && exit 0
### check if the distribution is compatible
if [[ $(lsb_release -cs) = "bookworm" ]]
then
echo ""
echo -e "\e[32;1mDebian 12 Distribution.\e[m"
echo ""
echo "Continuing with the script..."
echo ""
else
echo -e "\e[31;1mDistribution not approved for use with this script.\e[m"
exit 1
fi
### check if there is an internet connection.
if ping -q -c 3 -W 1 1.1.1.1 >/dev/null;
then
echo ""
echo -e "\e[32;1mInternet connection OK.\e[m"
echo ""
echo "Continuing with the script..."
echo ""
else
echo -e "\e[31;1mYou are not connected to the internet. Check your network or Wi-Fi connection before proceeding.\e[m"
exit 1
fi
clear
wget --version > /dev/null
if [[ $? -ne 0 ]]; then
echo "wget not available , installing"
sudo apt update && sudo apt install wget -y
fi
unzip >> /dev/null
if [[ $? -ne 0 ]]; then
echo "unzip not available , installing"
sudo apt update && sudo apt install unzip -y
fi
wget -O my_wallpapers.xml "https://github.com/phaleixo/after_install_debian_12/blob/main/my_wallpapers.xml"
wget -O wallpapers.zip "https://github.com/phaleixo/after_install_debian_12/blob/main/wallpapers.zip"
if [[ $? -ne 0 ]]; then
echo "Downloading failed , exiting"
exit 1
fi
unzip wallpapers.zip -d ~/
sudo mv wallpapers /usr/share/backgrounds/
sudo mv my_wallpapers.xml /usr/share/gnome-background-properties/
clear
echo "Done"
sleep 2
clear
echo "Set Wallpaper "
gsettings set org.gnome.desktop.background picture-uri-dark 'file:///usr/share/backgrounds/wallpapers/21.jpg'
gsettings set org.gnome.desktop.background picture-uri 'file:///usr/share/backgrounds/wallpapers/21.jpg'
clear
rm -rf wallpapers.zip
echo -e "Wallpapers installed"
exit 0