minor fixes to the installation

This commit is contained in:
ITmail-dk
2022-01-05 08:17:55 +01:00
parent 684267f735
commit 5745c10de0
6 changed files with 84 additions and 91 deletions

View File

@@ -2,101 +2,17 @@
cd ~/bspwm-install-ma-dte
#echo "-'-'-'-'-'-'-'-'-'-'-'-'-"
#echo " "
#echo " Creates folders."
#echo " "
#echo "-'-'-'-'-'-'-'-'-'-'-'-'-"
mkdir ~/.config
mkdir ~/.themes
mkdir ~/.icons
mkdir ~/.fonts
mkdir ~/wallpapers
# Do, mkdir, copy, copy, echo files.
. ~/bspwm-install-ma-dte/install-scripts/mkdir-cp-chmod-echo-files.sh
# 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/wallpapers/* ~/wallpapers/
# 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 config."
sudo sh -c "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;" >> $HOME/.config/nitrogen/nitrogen.cfg
touch .config/nitrogen/bg-saved.cfg
echo "[xin_-1]" >> $HOME/.config/nitrogen/bg-saved.cfg
echo "file=$HOME/wallpapers/1080p/pexels-fiona-art-3631430.jpg" >> $HOME/.config/nitrogen/bg-saved.cfg
echo "mode=5" >> $HOME/.config/nitrogen/bg-saved.cfg
echo "bgcolor=#191a1b" >> $HOME/.config/nitrogen/bg-saved.cfg
#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/rofi-beats
#echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
#echo " "
#echo " All DONE - User + .config files..."
#echo " "
#echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
# Not for production version
#read -p "Troubleshooting - Press a key to continue the installation."
. ~/bspwm-install-ma-dte/install-scripts/apt-install-all-packages.sh
# Add ROOT Level - Software & Packages.
#echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
#echo " "
#echo " APT Install Software & Packages"
#echo " "
#echo " Enter your user password, to continue if necessary"
#echo " "
#echo " continues the software installation in 5 seconds"
#echo " "
#echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
sleep 5
. ~/bspwm-install-ma-dte/install-scripts/apt-install-all-packages.sh
#sudo apt update
#sudo apt install -y xorg x11-xserver-utils arandr dialog bspwm sxhkd sddm picom polybar network-manager kitty psmisc ranger rofi thunar thunar-archive-plugin thunar-font-manager font-manager gvfs-backends flameshot neovim nitrogen lxpolkit lxappearance htop mc imagemagick npm feh sxiv pulseaudio pulsemixer mpd ncmpcpp notify-osd npm xscreensaver neofetch firefox-esr
#wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
#sudo apt install -y ~/bspwm-install-ma-dte/google-chrome-stable_current_amd64.deb
# More Software & Packages ON / OFF
#sudo apt install -y zsh git wireguard wireguard-tools libreoffice libreoffice-l10n-da inkscape gimp rawtherapee darktable okular virt-manager
# Not for production version
#read -p "Troubleshooting - Press a key to continue the installation."
# Alacritty - Building and installing ON / OFF
#echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
@@ -108,8 +24,16 @@ sleep 5
#. ~/bspwm-install-ma-dte/install-scripts/install-alacritty-debian.sh
# Last step setup menu installing.
. last-step-setup-menu.sh
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
echo " "
echo " "
echo " Enter your user password, to continue if necessary"
echo " "
echo " "
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
# Clean up and delete folders and other installation files ON / OFF
#cd ~