a tiny bit of cleanup

This commit is contained in:
2022-11-22 21:38:27 +01:00
parent a8bf96b565
commit c248e6fe2c
11 changed files with 2 additions and 450 deletions

View File

@@ -88,7 +88,7 @@ sudo apt update && sudo apt install -y git
echo "-'-'-'-'-'-'-'-'-'-'-'-'-" echo "-'-'-'-'-'-'-'-'-'-'-'-'-"
echo " " echo " "
echo " Creates folders." echo " Creates User folders."
echo " " echo " "
echo "-'-'-'-'-'-'-'-'-'-'-'-'-" echo "-'-'-'-'-'-'-'-'-'-'-'-'-"
mkdir ~/.config mkdir ~/.config
@@ -99,7 +99,7 @@ mkdir ~/.local
mkdir ~/.local/bin mkdir ~/.local/bin
mkdir ~/wallpapers mkdir ~/wallpapers
mkdir ~/miscellaneous mkdir ~/miscellaneous
# User folders via xdg-user-dirs-update. # Set User folders via xdg-user-dirs-update.
xdg-user-dirs-update xdg-user-dirs-update
# Not for production version # Not for production version
@@ -116,7 +116,6 @@ echo "-'-'-'-'-'-'-'-'-'-'-'-'-"
cp -r ~/bspwm-install-ma-dte/config/* ~/.config/ cp -r ~/bspwm-install-ma-dte/config/* ~/.config/
cp -r ~/bspwm-install-ma-dte/fonts/* ~/.fonts/ cp -r ~/bspwm-install-ma-dte/fonts/* ~/.fonts/
#cp -r ~/bspwm-install-ma-dte/themes/* ~/.themes/ #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 -r ~/bspwm-install-ma-dte/wallpapers/* ~/wallpapers/
cp ~/bspwm-install-ma-dte/local-files/.Xresources ~/ cp ~/bspwm-install-ma-dte/local-files/.Xresources ~/

View File

@@ -1,40 +0,0 @@
#!/bin/bash
# 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 3 seconds"
echo " "
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
sleep 2
echo "Enter your user password, to continue if necessary"
# APT Update Start RUN
sudo apt update
# Core packages to be installed
sudo apt install -y xorg arandr autorandr dialog bspwm sxhkd sddm picom polybar xautolock xsecurelock network-manager git kitty psmisc rofi nemo thunar pcmanfm module-assistant font-manager gvfs-backends nitrogen dunst rsync cups xsensors smbclient lxpolkit xbacklight lxappearance htop mc xarchiver pulseaudio pulsemixer bluez bluez-firmware bluez-tools bluez-alsa-utils blueman xfce4-pulseaudio-plugin moc mpv curl tmux imagemagick sxiv scrot flameshot firefox-esr numlockx ranger neovim notify-osd neofetch flatpak timeshift rename gparted cpufrequtils xfce4-power-manager xfce4-settings bpytop firmware-linux-nonfree nfs-common virt-viewer gvncviewer
# APT OFF
# system-config-printer cifs-utils
# Not for production version
#read -p "Troubleshooting - Press a key to continue the installation."
# Google Chrome - Download + Install ON / OFF
#rm google-chrome-stable_current_amd64.deb
cd /tmp/ && wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo apt install -y /tmp/google-chrome-stable_current_amd64.deb
# Not for production version
#read -p "Troubleshooting - Press a key to continue the installation."
cd ~/bspwm-install-ma-dte
# Not for production version
#read -p "Troubleshooting - Press a key to continue the installation."

View File

@@ -1,38 +0,0 @@
#!/bin/bash
# Install - Software & Packages.
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
echo " "
echo " Download, Building & Install Software"
echo " "
echo " Enter your user password, to continue if necessary"
echo " "
echo " continues the installation in 3 seconds"
echo " "
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
sleep 3
# Software & Packages
sudo apt install -y wireguard qimgv libreoffice libreoffice-gtk3 libreoffice-l10n-da freerdp2-x11 freerdp2-shadow-x11
# Software: thunar thunar-archive-plugin thunar-font-manager filezilla notepadqq gigolo netdiscover librecad inkscape gimp rawtherapee darktable okular scribus obs-studio
# Maybe maybe Software & Packages ON / OFF
#sudo apt install -y wireguard-tools
# Not for production version
#read -p "Troubleshooting - Press a key to continue the installation."
# Alacritty - Building and installing ON / OFF
clear
#echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
#echo " "
#echo " Alacritty - Building and installing"
#echo " "
#echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
# Alacritty - Building and installing ON / OFF
#. ~/bspwm-install-ma-dte/install-scripts/install-alacritty-debian.sh
# Not for production version
#read -p "Troubleshooting - Press a key to continue the installation."

View File

@@ -1,36 +0,0 @@
#!/bin/bash
# Install - Software & Packages.
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
echo " "
echo " Download, Building & Install Software"
echo " "
echo " Enter your user password, to continue if necessary"
echo " "
echo " continues the installation in 3 seconds"
echo " "
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
sleep 3
# Software & Packages
sudo apt install -y notepadqq
# Maybe maybe Software & Packages ON / OFF
#sudo apt install -y wireguard wireguard-tools libreoffice libreoffice-gtk3 libreoffice-l10n-da inkscape gimp rawtherapee darktable okular scribus obs-studio freerdp2-x11 freerdp2-shadow-x11 thunar thunar-archive-plugin thunar-font-manager filezilla
# Not for production version
#read -p "Troubleshooting - Press a key to continue the installation."
# Alacritty - Building and installing ON / OFF
clear
#echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
#echo " "
#echo " Alacritty - Building and installing"
#echo " "
#echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
# Alacritty - Building and installing ON / OFF
#. ~/bspwm-install-ma-dte/install-scripts/install-alacritty-debian.sh
# Not for production version
#read -p "Troubleshooting - Press a key to continue the installation."

View File

@@ -1,28 +0,0 @@
#!/bin/bash
# Add ROOT Level - Software & Packages.
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
echo " "
echo " DNF Install Software & Packages"
echo " "
echo " Enter your user password, to continue if necessary"
echo " "
echo " continues the software installation in 3 seconds"
echo " "
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
sleep 3
# DNF Update & apt upgrade
sudo dnf update && sudo dnf upgrade -y
echo "Enter your user password, to continue if necessary"
sudo dnf install -y https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
# Core packages to be installed
sudo dnf install -y sddm arandr autorandr dialog bspwm sxhkd picom polybar xautolock xsecurelock git kitty psmisc rofi pcmanfm nitrogen dunst cups system-config-printer xsensors cifs-utils lxpolkit xbacklight lxappearance htop mc xarchiver pulseaudio pulseaudio-utils bluez bluez-tools xfce4-pulseaudio-plugin npm cava curl tmux sxiv scrot flameshot firefox numlockx ranger neovim neofetch flatpak timeshift ren krename gparted xfce4-power-manager xfce4-settings bpytop
# Not for production version
#read -p "Troubleshooting - Press a key to continue the installation."
# Google Chrome - Download + Install ON / OFF
sudo dnf install -y https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm

View File

@@ -1,36 +0,0 @@
#!/bin/bash
# Install - Software & Packages.
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
echo " "
echo " Download, Building & Install Software"
echo " "
echo " Enter your user password, to continue if necessary"
echo " "
echo " continues the installation in 3 seconds"
echo " "
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
sleep 1
# Software & Packages
sudo dnf install -y wireguard-tools librecad freerdp thunar thunar-archive-plugin filezilla gigolo
# Maybe maybe Software & Packages ON / OFF
#sudo apt install -y
# Not for production version
#read -p "Troubleshooting - Press a key to continue the installation."
# Alacritty - Building and installing ON / OFF
clear
#echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
#echo " "
#echo " Alacritty - Building and installing"
#echo " "
#echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
# Alacritty - Building and installing ON / OFF
#. ~/bspwm-install-ma-dte/install-scripts/install-alacritty-debian.sh
# Not for production version
#read -p "Troubleshooting - Press a key to continue the installation."

View File

@@ -1,48 +0,0 @@
#!/bin/bash
# APT Update + install
sudo apt update && sudo apt install -y dialog git
# Remember that this menu uses this apt package "dialog"
HEIGHT=35
WIDTH=80
CHOICE_HEIGHT=10
BACKTITLE="The installation of Martin BSPwm DTE on Debian"
TITLE="Martin DTE - BSPwm installation"
MENU="Choose you system from the following:"
OPTIONS=(1 "AMD System"
2 "AMD System + NVIDIA GPU"
3 "Intel System"
4 "Intel System + NVIDIA GPU"
5 "Virtual Machine System - NO microcode & GPU Drivers"
6 "Exit, Do nothing and Reboot")
CHOICE=$(dialog --clear \
--backtitle "$BACKTITLE" \
--title "$TITLE" \
--menu "$MENU" \
$HEIGHT $WIDTH $CHOICE_HEIGHT \
"${OPTIONS[@]}" \
2>&1 >/dev/tty)
clear
case $CHOICE in
1)
. ~/bspwm-install-ma-dte/install-ma-dte-debian.sh && sudo apt install -y amd64-microcode && sudo reboot
;;
2)
. ~/bspwm-install-ma-dte/install-ma-dte-debian.sh && sudo apt install -y amd64-microcode nvidia-detect nvidia-driver && sudo reboot
;;
3)
. ~/bspwm-install-ma-dte/install-ma-dte-debian.sh && sudo apt install -y intel-microcode && sudo reboot
;;
4)
. ~/bspwm-install-ma-dte/install-ma-dte-debian.sh && sudo apt install -y intel-microcode nvidia-detect nvidia-driver && sudo reboot
;;
5)
. ~/bspwm-install-ma-dte/install-ma-dte-debian.sh && sudo reboot
;;
6)
systemctl reboot
;;
esac

View File

@@ -1,46 +0,0 @@
#!/bin/bash
# Remember that this menu uses this apt package "dialog"
HEIGHT=35
WIDTH=80
CHOICE_HEIGHT=5
BACKTITLE="Martin BSPwm DTE - The last step of the installation"
TITLE="The last step of the installation"
MENU="Choose one of the following options:"
OPTIONS=(1 "Install AMD Driver"
2 "Install AMD Driver + NVIDIA"
3 "Install Intel Driver"
4 "Install Intel + NVIDIA Driver"
5 "Virtual Machine - New SUPER KEY to ALT KEY"
6 "Do nothing and Reboot")
CHOICE=$(dialog --clear \
--backtitle "$BACKTITLE" \
--title "$TITLE" \
--menu "$MENU" \
$HEIGHT $WIDTH $CHOICE_HEIGHT \
"${OPTIONS[@]}" \
2>&1 >/dev/tty)
clear
case $CHOICE in
1)
sudo apt install -y amd64-microcode && systemctl reboot
;;
2)
sudo apt install -y amd64-microcode nvidia-detect nvidia-driver && systemctl reboot
;;
3)
sudo apt install -y intel-microcode && systemctl reboot
;;
4)
sudo apt install -y intel-microcode nvidia-detect nvidia-driver && systemctl reboot
;;
5)
. ~/bspwm-install-ma-dte/install-scripts/vm-install-mics.sh && systemctl reboot
;;
6)
systemctl reboot
;;
esac

View File

@@ -1,164 +0,0 @@
#!/bin/bash
# Not for production version
#read -p "Troubleshooting - Press a key to continue the installation."
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."
clear
#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/.Xresources ~/
# Not for production version
#read -p "Troubleshooting - Press a key to continue the installation."
clear
# Echo config to files. YES / NO
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
echo " "
echo " Echo config to files..."
echo " "
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
echo " Add Alias to bashrc under bash_aliases config."
touch ~/.bashrc
echo 'alias ls="ls --color=auto --group-directories-first -v -la"' >> ~/.bashrc
echo 'alias vi="nvim"' >> ~/.bashrc
echo 'alias upup="sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y"' >> ~/.bashrc
# Echo Nitrogen config to files.
echo "dirs=$HOME/wallpapers/;" >> ~/.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."
clear
#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."
clear
#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 ~/bspwm-install-ma-dte/themes/themes-de/Nordic-theme
git clone https://github.com/alvatip/Nordzy-cursors ~/bspwm-install-ma-dte/themes/cursors/Nordzy-cursors-theme
git clone https://github.com/PapirusDevelopmentTeam/papirus-icon-theme ~/bspwm-install-ma-dte/themes/icons/Papirus-icon-theme
# Not for production version
#read -p "Troubleshooting - Press a key to continue the installation."
clear
#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/
cp -r ~/bspwm-install-ma-dte/themes/themes-de/* ~/.themes/
mkdir ~/.icons/Nordzy-cursors
cp -r ~/bspwm-install-ma-dte/themes/cursors/Nordzy-cursors-theme/Nordzy-cursors/* ~/.icons/Nordzy-cursors
mkdir ~/.icons/Papirus
mkdir ~/.icons/Papirus-Dark
mkdir ~/.icons/Papirus-Light
cp -r ~/bspwm-install-ma-dte/themes/icons/Papirus-icon-theme/Papirus/* ~/.icons/Papirus
cp -r ~/bspwm-install-ma-dte/themes/icons/Papirus-icon-theme/Papirus-Dark/* ~/.icons/Papirus-Dark
cp -r ~/bspwm-install-ma-dte/themes/icons/Papirus-icon-theme/Papirus-Light/* ~/.icons/Papirus-Light
mkdir ~/.config/gtk-3.0
cp ~/bspwm-install-ma-dte/themes/gtk-3.0/settings.ini ~/.config/gtk-3.0
cp ~/bspwm-install-ma-dte/themes/.gtkrc-2.0 ~/
# Not for production version
#read -p "Troubleshooting - Press a key to continue the installation."
clear
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
echo " "
echo " All DONE - User + .config files..."
echo " "
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
# Not for production version
#read -p "Troubleshooting - Press a key to continue the installation."
clear

View File

@@ -1,11 +0,0 @@
#!/bin/bash
cd ~/bspwm-install-ma-dte/
mv ~/.config/bspwm/bspwmrc bspwmrc-org
cp ~/bspwm-install-ma-dte/config/bspwm/bspwmrc-vm ~/.config/bspwm/bspwmrc
chmod +x ~/.config/bspwm/bspwmrc
mv ~/.config/sxhkd/sxhkdrc sxhkdrc-org
cp ~/bspwm-install-ma-dte/config/sxhkd/sxhkdrc-vm ~/.config/sxhkd/sxhkdrc
chmod +x ~/.config/sxhkd/sxhkdrc