diff --git a/1-install.sh b/1-install.sh index 46e4595..f26525f 100755 --- a/1-install.sh +++ b/1-install.sh @@ -44,7 +44,7 @@ done echo "" echo "-> Install main packages" -packagesPacman=("alacritty" "scrot" "nitrogen" "picom" "starship" "slock" "neomutt" "neovim" "rofi" "dunst" "ueberzug" "mpv" "freerdp" "spotifyd" "xfce4-power-manager" "python-pip" "thunar" "mousepad" "papirus-icon-theme" "ttf-font-awesome" "ttf-fira-sans" "ttf-fira-code" "ttf-firacode-nerd" "figlet" "cmatrix" "lxappearance" "qalculate-gtk" "polybar" "chromium" "breeze" "breeze-gtk"); +packagesPacman=("alacritty" "scrot" "nitrogen" "picom" "starship" "slock" "neomutt" "neovim" "rofi" "dunst" "ueberzug" "mpv" "freerdp" "spotifyd" "xfce4-power-manager" "python-pip" "thunar" "mousepad" "ttf-font-awesome" "ttf-fira-sans" "ttf-fira-code" "ttf-firacode-nerd" "figlet" "cmatrix" "lxappearance" "qalculate-gtk" "polybar" "chromium" "breeze" "breeze-gtk"); packagesYay=("brave-bin" "pfetch" "bibata-cursor-theme"); # pywal installation below @@ -286,26 +286,6 @@ while true; do esac done -# ------------------------------------------------------ -# Clone wallpapers -# ------------------------------------------------------ -echo "" -echo "-> Install wallpapers (into folder ~/wallpaper)" -if [ -d ~/wallpaper/ ]; then - echo "wallpaper folder already exists." -else - git clone https://gitlab.com/stephan-raabe/wallpaper.git ~/wallpaper - echo "wallpaper installed." -fi - -# ------------------------------------------------------ -# Init pywal -# ------------------------------------------------------ -echo "" -echo "-> Init pywal" -wal -i ~/wallpaper/default.jpg -n -echo "pywal initiated." - # ------------------------------------------------------ # Install custom issue (login prompt) # ------------------------------------------------------ @@ -325,6 +305,44 @@ while true; do esac done +# ------------------------------------------------------ +# Install wallpapers +# ------------------------------------------------------ +echo "" +echo "-> Install wallapers" +while true; do + read -p "Do you want to clone the wallpapers? (Yy/Nn): " yn + case $yn in + [Yy]* ) + if [ -d ~/wallpaper/ ]; then + echo "wallpaper folder already exists." + else + git clone https://gitlab.com/stephan-raabe/wallpaper.git ~/wallpaper + echo "wallpaper installed." + fi + echo "Wallpaper installed." + break;; + [Nn]* ) + if [ -d ~/wallpaper/ ]; then + echo "wallpaper folder already exists." + else + mkdir ~/wallpaper + fi + cp ~/dotfiles/default.jpg ~/wallpaper + echo "Default wallpaper installed." + break;; + * ) echo "Please answer yes or no.";; + esac +done + +# ------------------------------------------------------ +# Init pywal +# ------------------------------------------------------ +echo "" +echo "-> Init pywal" +wal -i ~/wallpaper/default.jpg -n +echo "pywal initiated." + # ------------------------------------------------------ # DONE # ------------------------------------------------------ diff --git a/2-qtile.sh b/2-qtile.sh index 014da59..36285bb 100755 --- a/2-qtile.sh +++ b/2-qtile.sh @@ -41,8 +41,7 @@ echo "" # ------------------------------------------------------ # Install required packages # ------------------------------------------------------ -echo "-> Install main packages" -sudo pacman -S qtile +sudo --noconfirm pacman -S qtile # ------------------------------------------------------ # Create symbolic links diff --git a/default.jpg b/default.jpg new file mode 100644 index 0000000..9e416e9 Binary files /dev/null and b/default.jpg differ