This commit is contained in:
JaKooLit 2025-02-05 00:06:44 +09:00
parent 73df7cd572
commit 80a1bf59b3
8 changed files with 25 additions and 10 deletions

View File

@ -271,6 +271,8 @@ env = WLR_RENDERER_ALLOW_SOFTWARE,1
``` ```
#### ❗ other known issues #### ❗ other known issues
- [ ] hypridle cant be installed
> [!NOTE] > [!NOTE]
> Auto start of Hyprland after login (no SDDM or GDM or any login managers) > Auto start of Hyprland after login (no SDDM or GDM or any login managers)
- This was disabled a few days ago. (19 May 2024). This was because some users, after they used the Distro-Hyprland scripts with other DE (gnome-wayland or plasma-wayland), if they choose to login into gnome-wayland for example, Hyprland is starting. - This was disabled a few days ago. (19 May 2024). This was because some users, after they used the Distro-Hyprland scripts with other DE (gnome-wayland or plasma-wayland), if they choose to login into gnome-wayland for example, Hyprland is starting.

View File

@ -24,6 +24,9 @@ dependencies=(
libwayland-dev libwayland-dev
libcairo-5c-dev libcairo-5c-dev
libcairo2-dev libcairo2-dev
libsdbus-c++-bin
libegl-dev
libegl1-mesa-dev
libpango1.0-dev libpango1.0-dev
libgdk-pixbuf-2.0-dev libgdk-pixbuf-2.0-dev
libxcb-keysyms1-dev libxcb-keysyms1-dev

View File

@ -115,7 +115,7 @@ fi
printf "\n%.0s" {1..2} printf "\n%.0s" {1..2}
# Install up-to-date Rust # Install up-to-date Rust
echo "${INFO}Installing most ${YELLOW}up to date Rust compiler${RESET} ..." echo "${INFO} Installing most ${YELLOW}up to date Rust compiler${RESET} ..."
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y 2>&1 | tee -a "$LOG" curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y 2>&1 | tee -a "$LOG"
source "$HOME/.cargo/env" source "$HOME/.cargo/env"

View File

@ -43,8 +43,6 @@ for PKG_NAME in "${PACKAGES[@]}"; do
# Delete the file # Delete the file
sudo rm "$FILE_PATH" sudo rm "$FILE_PATH"
echo "Deleted: $FILE_PATH" 2>&1 | tee -a "$LOG" echo "Deleted: $FILE_PATH" 2>&1 | tee -a "$LOG"
else
echo "File not found: $FILE_PATH" 2>&1 | tee -a "$LOG"
fi fi
done done

View File

@ -35,7 +35,7 @@ printf "${NOTE} Installing ${SKY_BLUE}Hyprland packages${RESET} .......\n"
done done
# force # force
printf "${NOTE} Force Installing ${SKY_BLUE}Hyprland packages${RESET} .......\n" printf "${NOTE} Reinstalling ${SKY_BLUE}Hyprland packages${RESET} .......\n"
for HYPR1 in "${f_hypr[@]}"; do for HYPR1 in "${f_hypr[@]}"; do
re_install_package "$HYPR1" "$LOG" re_install_package "$HYPR1" "$LOG"
done done

View File

@ -41,21 +41,21 @@ if [ -d "hyprlock" ]; then
fi fi
# Clone and build hyprlock # Clone and build hyprlock
printf "${INFO} Installing ${YELLOW}hypridle $lock_tag${RESET} ...\n" printf "${INFO} Installing ${YELLOW}hyprlock $lock_tag${RESET} ...\n"
if git clone --recursive -b $lock_tag https://github.com/hyprwm/hyprlock.git; then if git clone --recursive -b $lock_tag https://github.com/hyprwm/hyprlock.git; then
cd hyprlock || exit 1 cd hyprlock || exit 1
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -S . -B ./build cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -S . -B ./build
cmake --build ./build --config Release --target hyprlock -j`nproc 2>/dev/null || getconf _NPROCESSORS_CONF` cmake --build ./build --config Release --target hyprlock -j`nproc 2>/dev/null || getconf _NPROCESSORS_CONF`
if sudo cmake --install build 2>&1 | tee -a "$MLOG" ; then if sudo cmake --install build 2>&1 | tee -a "$MLOG" ; then
printf "${OK} ${MAGENTA}hypridle $lock_tag${RESET} installed successfully.\n" 2>&1 | tee -a "$MLOG" printf "${OK} ${YELLOW}hyprlock $lock_tag${RESET} installed successfully.\n" 2>&1 | tee -a "$MLOG"
else else
echo -e "${ERROR} Installation failed for ${YELLOW}hypridle $lock_tag${RESET}" 2>&1 | tee -a "$MLOG" echo -e "${ERROR} Installation failed for ${YELLOW}hyprlock $lock_tag${RESET}" 2>&1 | tee -a "$MLOG"
fi fi
#moving the addional logs to Install-Logs directory #moving the addional logs to Install-Logs directory
mv $MLOG ../Install-Logs/ || true mv $MLOG ../Install-Logs/ || true
cd .. cd ..
else else
echo -e "${ERROR} Download failed for ${YELLOW}hypridle $lock_tag${RESET}" 2>&1 | tee -a "$LOG" echo -e "${ERROR} Download failed for ${YELLOW}hyprlock $lock_tag${RESET}" 2>&1 | tee -a "$LOG"
fi fi
printf "\n%.0s" {1..2} printf "\n%.0s" {1..2}

View File

@ -2,6 +2,18 @@
# 💫 https://github.com/JaKooLit 💫 # # 💫 https://github.com/JaKooLit 💫 #
# SWWW - Wallpaper Utility # # SWWW - Wallpaper Utility #
# Check if 'swww' is installed
if command -v swww &>/dev/null; then
SWWW_VERSION=$(swww -V | awk '{print $NF}')
if [[ "$SWWW_VERSION" == "0.9.5" ]]; then
echo -e "${OK} ${MAGENTA}swww v0.9.5${RESET} is already installed. Skipping installation."
exit 0
fi
else
echo -e "${ERROR} ${MAGENTA}swww${RESET} is not installed. Proceeding with installation."
fi
swww=( swww=(
liblz4-dev liblz4-dev
) )

View File

@ -19,7 +19,7 @@ LOG="Install-Logs/install-$(date +%d-%H%M%S)_wallust.log"
mkdir -p "$(dirname "$LOG")" mkdir -p "$(dirname "$LOG")"
# Install up-to-date Rust # Install up-to-date Rust
echo "${INFO}Installing most ${YELLOW}up to date Rust compiler${RESET} ..." echo "${INFO} Installing most ${YELLOW}up to date Rust compiler${RESET} ..."
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y 2>&1 | tee -a "$LOG" curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y 2>&1 | tee -a "$LOG"
source "$HOME/.cargo/env" source "$HOME/.cargo/env"
@ -34,7 +34,7 @@ fi
printf "\n%.0s" {1..2} printf "\n%.0s" {1..2}
# Install Wallust using Cargo # Install Wallust using Cargo
echo "${INFO}Installing ${SKY_BLUE}Wallust using Cargo${RESET} ..." | tee -a "$LOG" echo "${INFO} Installing ${SKY_BLUE}Wallust using Cargo${RESET} ..." | tee -a "$LOG"
if cargo install wallust 2>&1 | tee -a "$LOG" ; then if cargo install wallust 2>&1 | tee -a "$LOG" ; then
echo "${OK} ${MAGENTA}Wallust${RESET} installed successfully." | tee -a "$LOG" echo "${OK} ${MAGENTA}Wallust${RESET} installed successfully." | tee -a "$LOG"