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
- [ ] hypridle cant be installed
> [!NOTE]
> 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.

View File

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

View File

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

View File

@ -35,7 +35,7 @@ printf "${NOTE} Installing ${SKY_BLUE}Hyprland packages${RESET} .......\n"
done
# 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
re_install_package "$HYPR1" "$LOG"
done

View File

@ -41,21 +41,21 @@ if [ -d "hyprlock" ]; then
fi
# 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
cd hyprlock || exit 1
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`
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
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
#moving the addional logs to Install-Logs directory
mv $MLOG ../Install-Logs/ || true
cd ..
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
printf "\n%.0s" {1..2}

View File

@ -2,6 +2,18 @@
# 💫 https://github.com/JaKooLit 💫 #
# 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=(
liblz4-dev
)