Files
bspwm-install-mde/install-scripts/mkdir-cp-chmod-echo-files.sh
ITmail-dk 2a890d61ff Themes
2022-01-09 14:07:42 +01:00

140 lines
3.8 KiB
Bash

#!/bin/bash
#echo "-'-'-'-'-'-'-'-'-'-'-'-'-"
#echo " "
#echo " Creates folders."
#echo " "
#echo "-'-'-'-'-'-'-'-'-'-'-'-'-"
mkdir ~/.config
mkdir ~/.themes
mkdir ~/.fonts
mkdir ~/.icons
mkdir ~/.local
mkdir ~/.local/bin
mkdir ~/wallpapers
mkdir ~/miscellaneous
# User folders.
mkdir ~/Downloads
mkdir ~/Documents
mkdir ~/Templates
mkdir ~/Pictures
mkdir ~/Desktop
mkdir ~/Public
mkdir ~/Videos
mkdir ~/Music
# Not for production version
#read -p "Troubleshooting - Press a key to continue the installation."
#Copy files to...
#echo "-'-'-'-'-'-'-'-'-'-'-'-'-"
#echo " "
#echo " Copy files to..."
#echo " "
#echo "-'-'-'-'-'-'-'-'-'-'-'-'-"
cp -r ~/bspwm-install-ma-dte/config/* ~/.config/
cp -r ~/bspwm-install-ma-dte/fonts/* ~/.fonts/
#cp -r ~/bspwm-install-ma-dte/themes/* ~/.themes/
cp -r ~/bspwm-install-ma-dte/music/* ~/Music/
cp -r ~/bspwm-install-ma-dte/wallpapers/* ~/wallpapers/
#cp ~/bspwm-install-ma-dte/local-files/* ~/.local/
# Not for production version
#read -p "Troubleshooting - Press a key to continue the installation."
# Echo config to files. YES / NO
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
echo " "
echo " Echo config to files..."
echo " "
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
sudo sh -c "echo 'deb http://deb.debian.org/debian/ testing main contrib non-free' >> /etc/apt/sources.list"
sudo sh -c "echo 'deb-src http://deb.debian.org/debian/ testing main contrib non-free' >> /etc/apt/sources.list"
echo " Add UPUP alias to bash under bash_aliases config."
touch ~/.bash_aliases
echo 'alias upup="sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y"' >> ~/.bash_aliases
# Echo Nitrogen config to files.
echo "dirs=$HOME/wallpapers/1080p;" >> ~/.config/nitrogen/nitrogen.cfg
touch ~/.config/nitrogen/bg-saved.cfg
echo "[xin_-1]" >> ~/.config/nitrogen/bg-saved.cfg
echo "file=$HOME/wallpapers/default-wallpaper.jpg" >> ~/.config/nitrogen/bg-saved.cfg
echo "mode=5" >> ~/.config/nitrogen/bg-saved.cfg
echo "bgcolor=#191a1b" >> ~/.config/nitrogen/bg-saved.cfg
# Not for production version
#read -p "Troubleshooting - Press a key to continue the installation."
#chmod +x files.
#echo "-'-'-'-'-'-'-'-'-'-'-'-'-"
#echo " "
#echo " chmod +x files."
#echo " "
#echo "-'-'-'-'-'-'-'-'-'-'-'-'-"
chmod +x ~/.config/bspwm/bspwmrc
chmod +x ~/.config/sxhkd/sxhkdrc
chmod +x ~/.config/polybar/run-polybar.sh
chmod +x ~/.config/rofi/powermenu.sh
chmod +x ~/.config/rofi/rofi-wifi-menu.sh
chmod +x ~/.config/rofi/rofi-beats.sh
# Not for production version
#read -p "Troubleshooting - Press a key to continue the installation."
#Unzip files to...
#echo "-'-'-'-'-'-'-'-'-'-'-'-'-"
#echo " "
#echo " Unzip files to..."
#echo " "
#echo "-'-'-'-'-'-'-'-'-'-'-'-'-"
#tar -xf themes/archive.tar.xz -C ~/.themes/
#tar -xf themes/Nordic-bluish-accent.tar.xz -C ~/.themes/
#tar -xf themes/cursors/Nordzy-cursors.tar.gz -C ~/.icons/
#Git Clone files.
#echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
#echo " "
#echo " Git Clone - Downloads"
#echo " "
#echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
#git clone https://github.com/LINK Nordic-Theme Specific-folder
git clone https://github.com/EliverLara/Nordic themes/themes-de/Nordic-theme
git clone https://github.com/alvatip/Nordzy-cursors themes/cursors/Nordzy-cursors-theme
git clone https://github.com/PapirusDevelopmentTeam/papirus-icon-theme themes/icons/Papirus-icon-theme
#Copy Theme files...
#echo "-'-'-'-'-'-'-'-'-'-'-'-'-"
#echo " "
#echo " Copy Theme files..."
#echo " "
#echo "-'-'-'-'-'-'-'-'-'-'-'-'-"
#cp -r ~/bspwm-install-ma-dte/themes/themes-de/* ~/.themes/
#cp -r ~/bspwm-install-ma-dte/themes/cursors/* ~/.icons/
#cp -r ~/bspwm-install-ma-dte/themes/icons/* ~/.icons/
#echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
#echo " "
#echo " All DONE - User + .config files..."
#echo " "
#echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"