From 3423c5c63d825e34362a86be7ffd64c664424676 Mon Sep 17 00:00:00 2001 From: Martin Andersen Date: Sun, 26 May 2024 18:17:51 +0200 Subject: [PATCH] Update install.sh --- install.sh | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index 3bc8eb1..7764627 100644 --- a/install.sh +++ b/install.sh @@ -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}" +# ------------------------------------------------------------------------------------------------- # -------------------------------------------------------------------------------------------------