mirror of
https://github.com/JaKooLit/Debian-Hyprland.git
synced 2025-12-21 18:20:13 +01:00
33 lines
890 B
Bash
Executable File
33 lines
890 B
Bash
Executable File
#!/bin/bash
|
|
# 💫 https://github.com/JaKooLit 💫 #
|
|
# Pywal Colors) #
|
|
|
|
pywal=(
|
|
imagemagick
|
|
python3-pip
|
|
)
|
|
|
|
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
|
# Determine the directory where the script is located
|
|
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
# Change the working directory to the parent directory of the script
|
|
PARENT_DIR="$SCRIPT_DIR/.."
|
|
cd "$PARENT_DIR" || exit 1
|
|
|
|
source "$(dirname "$(readlink -f "$0")")/Global_functions.sh"
|
|
|
|
# Set the name of the log file to include the current date and time
|
|
LOG="Install-Logs/install-$(date +'%d-%H%M%S')_pywal.log"
|
|
|
|
# Installing Pywal dependencies
|
|
for package in "${pywal[@]}"; do
|
|
install_package "$package" || exit 1
|
|
done
|
|
|
|
## Installing pywal colors
|
|
printf "\n%s - Installing Pywal.... \n" "${NOTE}"
|
|
sudo pip3 install pywal --break-system-packages 2>&1 | tee -a "$LOG"
|
|
|
|
clear
|