small fixes a new setup menu
This commit is contained in:
@@ -57,9 +57,10 @@ bspc rule -a Screenkey manage=off
|
||||
|
||||
bspc rule -a Google-chrome desktop='^2' follow=on border=off
|
||||
bspc rule -a Firefox desktop='^2' follow=on border=off
|
||||
bspc rule -a Gimp desktop='^6' follow=on layer=above border=off
|
||||
bspc rule -a Inkscape desktop='^7' follow=on border=off
|
||||
bspc rule -a mpv desktop='^5' state=floating
|
||||
bspc rule -a Gimp desktop='^7' follow=on layer=above border=off
|
||||
bspc rule -a Inkscape desktop='^8' follow=on border=off
|
||||
bspc rule -a LibreCAD desktop='^9' follow=on border=off
|
||||
bspc rule -a mpv desktop='^10' state=floating
|
||||
|
||||
|
||||
# Automatically start up programs.
|
||||
|
||||
@@ -54,10 +54,10 @@ bspc rule -a Screenkey manage=off
|
||||
|
||||
bspc rule -a Google-chrome desktop='^2' follow=on border=off
|
||||
bspc rule -a Firefox desktop='^2' follow=on border=off
|
||||
bspc rule -a Gimp desktop='^6' follow=on layer=above border=off
|
||||
bspc rule -a Inkscape desktop='^7' follow=on border=off
|
||||
bspc rule -a mpv desktop='^5' state=floating
|
||||
|
||||
bspc rule -a Gimp desktop='^7' follow=on layer=above border=off
|
||||
bspc rule -a Inkscape desktop='^8' follow=on border=off
|
||||
bspc rule -a LibreCAD desktop='^9' follow=on border=off
|
||||
bspc rule -a mpv desktop='^10' state=floating
|
||||
|
||||
# Automatically start up programs.
|
||||
picom &
|
||||
|
||||
@@ -38,7 +38,7 @@ shift + ctrl + alt + w
|
||||
. ~/.config/rofi/rofi-wifi-menu.sh
|
||||
|
||||
####### lock computer #######
|
||||
super + l
|
||||
alt + l
|
||||
xsecurelock
|
||||
|
||||
#
|
||||
|
||||
@@ -15,18 +15,18 @@ systemctl --user enable pulseaudio
|
||||
. ~/bspwm-install-ma-dte/install-scripts/apt-install-software-last-packages.sh
|
||||
|
||||
# Last step setup menu installing.
|
||||
. ~/bspwm-install-ma-dte/last-step-setup-menu.sh
|
||||
#. ~/bspwm-install-ma-dte/last-step-setup-menu.sh
|
||||
|
||||
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
|
||||
echo " "
|
||||
echo " "
|
||||
echo " Enter your user password, to continue if necessary"
|
||||
echo " "
|
||||
echo " "
|
||||
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
|
||||
#echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
|
||||
#echo " "
|
||||
#echo " "
|
||||
#echo " Enter your user password, to continue if necessary"
|
||||
#echo " "
|
||||
#echo " "
|
||||
#echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
|
||||
|
||||
sleep 1
|
||||
#sleep 1
|
||||
|
||||
read -p "You are ready to reboot... Press [Enter] key to Reboot System."
|
||||
#read -p "You are ready to reboot... Press [Enter] key to Reboot System."
|
||||
|
||||
systemctl rebootcd ..
|
||||
#systemctl rebootcd ..
|
||||
|
||||
@@ -15,5 +15,7 @@ sleep 3
|
||||
# APT Update & apt upgrade
|
||||
sudo apt update && sudo apt upgrade -y
|
||||
|
||||
echo "Enter your user password, to continue if necessary"
|
||||
|
||||
# Core packages to be installed
|
||||
sudo apt install -y xorg x11-xserver-utils arandr autorandr dialog bspwm sxhkd sddm picom polybar xautolock xsecurelock caffeine network-manager git kitty psmisc rofi pcmanfm tlp font-manager gvfs-backends nitrogen dunst cups smbclient lxpolkit xbacklight lxappearance htop mc xarchiver mpv feh sxiv pulseaudio pulsemixer npm curl tmux imagemagick scrot firefox-esr numlockx ranger neovim flameshot moc notify-osd neofetch flatpak cava
|
||||
sudo apt install -y xorg x11-xserver-utils arandr autorandr dialog bspwm sxhkd sddm picom polybar xautolock xsecurelock caffeine network-manager git kitty psmisc rofi pcmanfm tlp font-manager gvfs-backends nitrogen dunst cups smbclient lxpolkit xbacklight lxappearance htop mc xarchiver pulseaudio pulsemixer moc mpv npm cava curl tmux imagemagick feh sxiv scrot flameshot firefox-esr numlockx ranger neovim notify-osd neofetch flatpak
|
||||
|
||||
47
install.sh
Normal file
47
install.sh
Normal file
@@ -0,0 +1,47 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Remember that this menu uses this apt package "dialog"
|
||||
|
||||
HEIGHT=35
|
||||
WIDTH=80
|
||||
CHOICE_HEIGHT=5
|
||||
BACKTITLE="Martin BSPwm DTE - The installation"
|
||||
TITLE="Martin DTE - BSPwm installation"
|
||||
MENU="Choose you system from the following options:"
|
||||
|
||||
OPTIONS=(1 "AMD System"
|
||||
2 "AMD System + NVIDIA GPU"
|
||||
3 "Intel System"
|
||||
4 "Intel System + NVIDIA GPU"
|
||||
5 "Virtual Machine System - SUPER KEY to ALT KEY"
|
||||
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 && systemctl reboot
|
||||
;;
|
||||
2)
|
||||
. ~/bspwm-install-ma-dte/install-ma-dte-debian.sh && sudo apt install -y amd64-microcode nvidia-detect nvidia-driver && systemctl reboot
|
||||
;;
|
||||
3)
|
||||
. ~/bspwm-install-ma-dte/install-ma-dte-debian.sh && sudo apt install -y intel-microcode && systemctl reboot
|
||||
;;
|
||||
4)
|
||||
. ~/bspwm-install-ma-dte/install-ma-dte-debian.sh && sudo apt install -y intel-microcode nvidia-detect nvidia-driver && systemctl reboot
|
||||
;;
|
||||
5)
|
||||
. ~/bspwm-install-ma-dte/install-ma-dte-debian.sh && . ~/bspwm-install-ma-dte/install-scripts/vm-install-mics.sh && systemctl reboot
|
||||
;;
|
||||
6)
|
||||
systemctl reboot
|
||||
;;
|
||||
esac
|
||||
Reference in New Issue
Block a user