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

@@ -10,7 +10,7 @@ echo " "
echo " continues the software installation in 5 seconds"
echo " "
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
sleep 5
sleep 4
sudo apt update
sudo apt install -y xorg x11-xserver-utils arandr dialog bspwm sxhkd sddm picom polybar i3lock-fancy network-manager kitty psmisc ranger rofi thunar thunar-archive-plugin thunar-font-manager font-manager gvfs-backends flameshot neovim nitrogen lxpolkit xbacklight lxappearance htop mc imagemagick npm feh sxiv pulseaudio pulsemixer mpd ncmpcpp notify-osd npm xscreensaver curl neofetch firefox-esr

View File

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

View File

@@ -0,0 +1,69 @@
#!/bin/bash
#echo "-'-'-'-'-'-'-'-'-'-'-'-'-"
#echo " "
#echo " Creates folders."
#echo " "
#echo "-'-'-'-'-'-'-'-'-'-'-'-'-"
mkdir ~/.config
mkdir ~/.themes
mkdir ~/.icons
mkdir ~/.fonts
mkdir ~/wallpapers
# 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 "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"