mirror of
https://github.com/JaKooLit/Debian-Hyprland.git
synced 2025-12-21 10:20:12 +01:00
updated for wallust migration from pywal, updated hyprland-scanner
This commit is contained in:
parent
ee272e9417
commit
88756279e0
@ -1,5 +1,12 @@
|
|||||||
## Changelogs
|
## Changelogs
|
||||||
|
|
||||||
|
## 10 May 2024
|
||||||
|
- added wallust-git and remove python-pywal for migration to wallust on Hyprland-Dots v2.2.11
|
||||||
|
|
||||||
|
## 07 May 2024
|
||||||
|
- added ags.sh for upcoming ags overview for next Hyprland-Dots release. Will be installed form source
|
||||||
|
- added manual installation of waybar since Debian is very slow in updating their packages
|
||||||
|
|
||||||
## 03 May 2024
|
## 03 May 2024
|
||||||
- Bump swww to v0.9.5
|
- Bump swww to v0.9.5
|
||||||
- added python3-pyquery for new weather-waybar python based on Hyprland-Dots
|
- added python3-pyquery for new weather-waybar python based on Hyprland-Dots
|
||||||
|
|||||||
@ -97,9 +97,4 @@ done
|
|||||||
## making brightnessctl work
|
## making brightnessctl work
|
||||||
sudo chmod +s $(which brightnessctl) 2>&1 | tee -a "$LOG" || true
|
sudo chmod +s $(which brightnessctl) 2>&1 | tee -a "$LOG" || true
|
||||||
|
|
||||||
## Installing pywal colors
|
|
||||||
printf "\n%s - Installing Pywal.... \n" "${NOTE}"
|
|
||||||
|
|
||||||
sudo pip3 install pywal --break-system-packages 2>&1 | tee -a "$LOG"
|
|
||||||
|
|
||||||
clear
|
clear
|
||||||
|
|||||||
@ -1,32 +0,0 @@
|
|||||||
#!/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
|
|
||||||
62
install-scripts/wallust.sh
Executable file
62
install-scripts/wallust.sh
Executable file
@ -0,0 +1,62 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# 💫 https://github.com/JaKooLit 💫 #
|
||||||
|
# wallust - pywal colors replacment #
|
||||||
|
|
||||||
|
depend=(
|
||||||
|
imagemagick
|
||||||
|
)
|
||||||
|
|
||||||
|
#specific branch or release
|
||||||
|
wal_tag="dev"
|
||||||
|
|
||||||
|
## 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)_wallust.log"
|
||||||
|
MLOG="install-$(date +%d-%H%M%S)_wallust.log"
|
||||||
|
|
||||||
|
# Installing depencies
|
||||||
|
for PKG1 in "${depend[@]}"; do
|
||||||
|
install_package "$PKG1" 2>&1 | tee -a "$LOG"
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
echo -e "\033[1A\033[K${ERROR} - $PKG1 Package installation failed, Please check the installation logs"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
##
|
||||||
|
printf "${NOTE} Installing wallust from dev branch...\n"
|
||||||
|
|
||||||
|
# Check if folder exists and remove it
|
||||||
|
if [ -d "wallust" ]; then
|
||||||
|
printf "${NOTE} Removing existing wallust folder...\n"
|
||||||
|
rm -rf "wallust"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Clone and build wallust
|
||||||
|
printf "${NOTE} Installing wallust...\n"
|
||||||
|
if git clone --depth 1 -b $wal_tag https://codeberg.org/explosion-mental/wallust.git; then
|
||||||
|
cd wallust || exit 1
|
||||||
|
make
|
||||||
|
if sudo cmake --install 2>&1 | tee -a "$MLOG" ; then
|
||||||
|
printf "${OK} wallust installed successfully.\n" 2>&1 | tee -a "$MLOG"
|
||||||
|
else
|
||||||
|
echo -e "${ERROR} Installation failed for wallust." 2>&1 | tee -a "$MLOG"
|
||||||
|
fi
|
||||||
|
#moving the addional logs to Install-Logs directory
|
||||||
|
mv $MLOG ../Install-Logs/ || true
|
||||||
|
cd ..
|
||||||
|
else
|
||||||
|
echo -e "${ERROR} Download failed for wallust." 2>&1 | tee -a "$LOG"
|
||||||
|
fi
|
||||||
|
|
||||||
|
clear
|
||||||
|
|
||||||
@ -161,7 +161,7 @@ execute_script "fonts.sh"
|
|||||||
execute_script "swappy.sh"
|
execute_script "swappy.sh"
|
||||||
execute_script "swww.sh"
|
execute_script "swww.sh"
|
||||||
execute_script "rofi-wayland.sh"
|
execute_script "rofi-wayland.sh"
|
||||||
execute_script "pywal.sh"
|
execute_script "wallust.sh"
|
||||||
execute_script "force-install.sh"
|
execute_script "force-install.sh"
|
||||||
execute_script "hyprlang.sh"
|
execute_script "hyprlang.sh"
|
||||||
execute_script "hyprlock.sh"
|
execute_script "hyprlock.sh"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user