Update install.sh

This commit is contained in:
2024-05-26 18:17:51 +02:00
parent ef92515be7
commit 3423c5c63d

View File

@@ -38,7 +38,6 @@
# Start the install *_:*:_*:*:_*_*:*:_*::*_*::*_*:_*::*_*:*:_:*:*_*:*:_*:*_:*:#
# Whiptail colors
@@ -96,7 +95,7 @@ clear
# Installation start screen
FULLUSERNAME=$(awk -v user="$USER" -F":" 'user==$1{print $5}' /etc/passwd | rev | cut -c 4- | rev)
if (whiptail --title "Installation of the Martin Qtile Desktop" --yesno "Hi $FULLUSERNAME do you want to start \nthe installation of Qtile Martin Andersen Desktop Environment ? \nQmade for short." 10 50); then
if (whiptail --title "Installation of the Martin Qtile Desktop" --yesno "Hi $FULLUSERNAME do you want to start \nthe installation of Qtile Martin Andersen Desktop Environment, Qmade for short.!" 10 50); then
echo -e "${GREEN} Okay, let's start the installation"
else
exit 1
@@ -277,10 +276,16 @@ numlockx on &
mpd &
#nitrogen --restore &
# lock computer automatically after X time of minutes.
xautolock -time 120 -locker "xsecurelock" -detectsleep -secure &
if [ ! -f ~/.config/.first_login_done ]; then
if (whiptail --title "Welcome to Qmade" --yesno "Do you want to autogenerate a new wallpaper and colors ?\nI would recommend it so you get some new colors. \nand you can always make a new theme yourself by pressing Control + Windows key + Alt + T" 6 60); then
auto-new-wallpaper-and-colors
else
touch ~/.config/.first_login_done
fi
QTILEAUTOSTART
chmod +x ~/.config/qtile/autostart.sh
@@ -415,7 +420,7 @@ echo -e "${GREEN} Download some wallpapers, Please wait..."
count="9"
# Categories topics for the wallpapers like, minimalist-wallpapers "Remember to put a hyphen between the words"
query="4k-cool-colors-wallpapers"
query="4K-Cool-Colors-Wallpapers"
# Downloading random wallpapers to ~/Wallpapers folder
for ((i = 1; i <= count; i++)); do
@@ -1852,6 +1857,7 @@ fi
# -------------------------------------------------------------------------------------------------
echo -e "${YELLOW} Qtile Config file END ${NC}"
# -------------------------------------------------------------------------------------------------
# -------------------------------------------------------------------------------------------------