clear + file move

This commit is contained in:
2022-11-09 10:10:37 +01:00
parent 43f6546684
commit 37cf243d80
24 changed files with 8 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
#!/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

@@ -0,0 +1,38 @@
#!/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

@@ -0,0 +1,36 @@
#!/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

@@ -0,0 +1,28 @@
#!/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

@@ -0,0 +1,36 @@
#!/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

@@ -0,0 +1,21 @@
#!/bin/bash
modprobe btusb
sleep 1
sudo systemctl enable bluetooth.service
sleep 1
sudo systemctl start bluetooth.service
sleep 1
clear
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
echo " "
echo " Enable Bluetooth DONE"
echo " "
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"

View File

@@ -0,0 +1,77 @@
#!/bin/bash
#APT UPDATE & APT UPGRADE
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'--'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
echo " "
echo " APT + Alacritty - Building and installing"
echo " Enter your user password, to continue if necessary"
echo " "
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'--'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
sudo apt update && sudo apt upgrade -y
sudo apt install -y cmake cargo pkg-config libfreetype6-dev libfontconfig1-dev libxcb-xfixes0-dev libxkbcommon-dev python3
# Not for production version
#read -p "Troubleshooting - Press a key to continue the installation."
echo "-'-'-'-'-'-'-'-'-'-'-'-'-"
echo " "
echo " Create folders."
echo " "
echo "-'-'-'-'-'-'-'-'-'-'-'-'-"
#mkdir ~/.config/alacritty
mkdir ~/make
# Not for production version
#read -p "Troubleshooting - Press a key to continue the installation."
echo "-'-'-'-'-'-'-'-'-'-'-'-'-"
echo " "
echo " GIT Download."
echo " "
echo "-'-'-'-'-'-'-'-'-'-'-'-'-"
cd ~/make/
git clone https://github.com/alacritty/alacritty.git
mv alacritty ~/make/
cd ~/make/alacritty
# Not for production version
#read -p "Troubleshooting - Press a key to continue the installation."
echo "-'-'-'-'-'-'-'-'-'-'-'-"
echo " "
echo " Building."
echo " "
echo "-'-'-'-'-'-'-'-'-'-'-'-"
cargo build --release
echo "-'-'-'-'-'-'-'-'-'-'-'-"
echo " "
echo " Buil DONE."
echo " "
echo "-'-'-'-'-'-'-'-'-'-'-'-"
# Not for production version
#read -p "Troubleshooting - Press a key to continue the installation."
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'--'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
echo " "
echo " Add Desktop Entry."
echo " "
echo " Enter your user password, to continue if necessary"
echo " "
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'--'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
sudo cp target/release/alacritty /usr/local/bin
sudo cp extra/logo/alacritty-term.svg /usr/share/pixmaps/Alacritty.svg
sudo desktop-file-install extra/linux/Alacritty.desktop
sudo update-desktop-database
# Not for production version
#read -p "Troubleshooting - Press a key to continue the installation."
cd ~/bspwm-install-ma-dte
clear
echo "Alacritty Install - ALL DONE"

View File

@@ -0,0 +1,37 @@
#!/bin/bash
# APT UPDATE & APT UPGRADE
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
echo " "
echo " Alacritty Themes - Install"
echo " NPM Install alacritty-themes"
echo " "
echo " See more at https://github.com/rajasegar/alacritty-themes"
echo " "
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
echo "Enter your user password, to continue."
sudo apt update && sudo apt install -y npm
# NPM Install alacritty-themes
npm i -g alacritty-themes
clear
echo " "
echo " "
echo " "
echo " "
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
echo " "
echo " ALL DONE run alacritty-themes to use it"
echo " "
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
echo " "
echo " "
echo " "
echo " "
echo " "

View File

@@ -0,0 +1,21 @@
#!/bin/bash
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
echo " "
echo " Install Discord via .DEB"
echo " "
echo " Enter your user password, to continue if necessary"
echo " "
echo " continues the installation in 3 seconds"
echo " "
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
sleep 2
cd /tmp
wget -O discord.deb https://discord.com/api/download?platform=linux&format=deb
sudo apt install -y ./discord.deb
clear
echo " # # # # # RUN Discord # # # # #"

View File

@@ -0,0 +1,32 @@
#!/bin/bash
# APT UPDATE & APT UPGRADE
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
echo " "
echo " Hugo Extended - Install"
echo " Before we Install we run an update..."
echo " "
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
sudo apt update && sudo apt upgrade -y
# Install Hugo Extended v0.94.1
cd /tmp/
wget https://github.com/gohugoio/hugo/releases/download/v0.94.1/hugo_extended_0.94.1_Linux-64bit.deb
echo "Enter your user password, to continue install."
sudo apt install -y /tmp/hugo_extended_0.94.1_Linux-64bit.deb
clear
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
echo " "
echo " Hugo Extended Install - ALL DONE"
echo " "
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
echo " "
cd ~/bspwm-install-ma-dte
clear
read -p "Press a key to Exit"

View File

@@ -0,0 +1,45 @@
#!/bin/bash
cd ~/bspwm-install-ma-dte
#sudo sh -c "echo 'Xcursor.theme: Nordzy-cursors' >> /etc/X11/Xresources/x11-common"
#sudo sh -c "echo 'Xcursor.size: 22' >> /etc/X11/Xresources/x11-common"
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"
# Not for production version
#read -p "Troubleshooting - Press a key to continue the installation."
# Run APT Update
sudo apt update
# Not for production version
#read -p "Troubleshooting - Press a key to continue the installation."
# Do, mkdir, copy, copy, echo files.
. ~/bspwm-install-ma-dte/install-scripts/mkdir-cp-git-chmod-echo-files.sh
# Not for production version
#read -p "Troubleshooting - Press a key to continue the installation."
# Add Software & Packages.
. ~/bspwm-install-ma-dte/install-scripts/apt-install-core-packages.sh
# Not for production version
#read -p "Troubleshooting - Press a key to continue the installation."
# Add Pulseaudio to system startup as user.
systemctl --user enable pulseaudio
# Not for production version
#read -p "Troubleshooting - Press a key to continue the installation."
# Last Software & Packages.
. ~/bspwm-install-ma-dte/install-scripts/apt-install-software-last-packages.sh
# Not for production version
#read -p "Troubleshooting - Press a key to continue the installation."
# Last step setup menu installing.
#. ~/bspwm-install-ma-dte/last-step-setup-menu.sh

View File

@@ -0,0 +1,37 @@
#!/bin/bash
cd ~/bspwm-install-ma-dte
# Do, mkdir, copy, copy, echo files.
. ~/bspwm-install-ma-dte/install-scripts/mkdir-cp-git-chmod-echo-files.sh
# Not for production version
#read -p "Troubleshooting - Press a key to continue the installation."
# Add Software & Packages.
. ~/bspwm-install-ma-dte/install-scripts/dnf-install-core-packages.sh
# Not for production version
#read -p "Troubleshooting - Press a key to continue the installation."
# Add Pulseaudio to system startup as user.
systemctl --user enable pulseaudio
sudo systemctl enable sddm
sudo systemctl set-default graphical.target
# Not for production version
#read -p "Troubleshooting - Press a key to continue the installation."
# Last Software & Packages.
. ~/bspwm-install-ma-dte/install-scripts/dnf-install-software-last-packages.sh
# Not for production version
#read -p "Troubleshooting - Press a key to continue the installation."
#sudo sh -c "echo 'Xcursor.theme: Nordzy-cursors' >> /etc/X11/Xresources/x11-common"
#sudo sh -c "echo 'Xcursor.size: 22' >> /etc/X11/Xresources/x11-common"
# Not for production version
#read -p "Troubleshooting - Press a key to continue the installation."
# Last step setup menu installing.
#. ~/bspwm-install-ma-dte/last-step-setup-menu.sh

View File

@@ -0,0 +1,48 @@
#!/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

@@ -0,0 +1,22 @@
#!/bin/bash
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
echo " "
echo " Install Steam via .DEB and APT & NVIDIA GPU libs-i386"
echo " "
echo " Enter your user password, to continue if necessary"
echo " "
echo " continues the installation in 3 seconds"
echo " "
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
sleep 2
cd /tmp
wget https://steamcdn-a.akamaihd.net/client/installer/steam.deb
sudo apt install -y nvidia-driver-libs:i386
sudo apt install -y ./steam.deb
clear
echo " # # # # # RUN STEAM CORMAND: steam"

View File

@@ -0,0 +1,25 @@
#!/bin/bash
# Install - Steam Flatpak Install
# flatpak install flathub com.valvesoftware.Steam
# flatpak repairl flathub com.valvesoftware.Steam
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
echo " "
echo " Install Steam via Flatpaki on Flathub"
echo " "
echo " Enter your user password, to continue if necessary"
echo " "
echo " continues the installation in 3 seconds"
echo " "
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
sleep 2
sudo apt install -y flatpak
flatpak install flathub com.valvesoftware.Steam
clear
echo " # # # # # RUN STEAM CORMAND: flatpak run com.valvesoftware.Steam"

View File

@@ -0,0 +1,30 @@
#!/bin/bash
# Download & Install TeamViewer
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
echo " "
echo " TeamViewer - Download..."
echo " "
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
cd /tmp/
wget https://download.teamviewer.com/download/linux/teamviewer_amd64.deb
echo "Enter your user password, to continue install."
sudo apt install -y /tmp/teamviewer_amd64.deb
clear
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
echo " "
echo " TeamViewer Install - ALL DONE"
echo " "
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
echo " "
cd ~/bspwm-install-ma-dte
clear
read -p "Press a key to Exit"
exit

View File

@@ -0,0 +1,17 @@
#!/bin/bash
egrep -c '(vmx|svm)' /proc/cpuinfo
read -p "Output = 8 - Press a key to continue the installation."
sudo apt update && sudo apt upgrade -y
sudo apt-get install -y qemu-kvm libvirt-daemon-system libvirt-clients bridge-utils virt-manager
sudo usermod -aG kvm $USER
sudo usermod -aG libvirt $USER
virt-manager

View File

@@ -0,0 +1,27 @@
#!/bin/bash
# Install - VS Code Software.
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
echo " "
echo " Download & Install VS Code"
echo " "
echo " Enter your user password, to continue if necessary"
echo " "
echo " continues the installation in 3 seconds"
echo " "
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
sleep 2
cd /tmp/
wget -O vscode_amd64.deb 'https://code.visualstudio.com/sha/download?build=stable&os=linux-deb-x64'
sudo apt install -y /tmp/vscode_amd64.deb
cd ~/bspwm-install-ma-dte
clear
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
echo " "
echo " VS Code Install - ALL DONE"
echo " "
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"

View File

@@ -0,0 +1,31 @@
#!/bin/bash
# APT UPDATE & APT UPGRADE
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
echo " "
echo " APT UPDATE & APT UPGRADE + install ZSH Shell"
echo " Enter your user password, to continue."
echo " "
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
sudo apt update && sudo apt upgrade -y
# Install ZSH Shell
# Debian install zsh shell.:
sudo apt install -y zsh && zsh --version
# Make it your default shell:
sudo chsh -s $(which zsh)
# Test that it worked with.:
echo $SHELL
# Test with...
$SHELL --version
cd ~/bspwm-install-ma-dte
clear
read -p "ZSH Shell Install - ALL DONE - Press a key to Exit"

View File

@@ -0,0 +1,46 @@
#!/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

@@ -0,0 +1,164 @@
#!/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

@@ -0,0 +1,2 @@
#!/bin/bash
clear

View File

@@ -0,0 +1,11 @@
#!/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