Merge pull request #143 from JaKooLit/main

Main to development
This commit is contained in:
Ja.KooLit
2024-09-05 17:07:30 +09:00
committed by GitHub
7 changed files with 78 additions and 72 deletions

View File

@@ -1,5 +1,9 @@
## Changelogs ## Changelogs
## 29 Aug 2024
- switched over to non-git wallust package
- improved indentions on some install scripts
## 28 Aug 2024 ## 28 Aug 2024
- Added final check if hyprland is installed and will give an error to user - Added final check if hyprland is installed and will give an error to user

View File

@@ -18,8 +18,6 @@ curl
grim grim
gvfs gvfs
gvfs-mtp gvfs-mtp
hypridle
hyprlock
imagemagick imagemagick
inxi inxi
jq jq
@@ -34,7 +32,6 @@ playerctl
polkit-gnome polkit-gnome
python-requests python-requests
python-pyquery python-pyquery
pyprland
qt5ct qt5ct
qt6ct qt6ct
qt6-svg qt6-svg
@@ -43,7 +40,7 @@ slurp
swappy swappy
swaync swaync
swww swww
wallust-git wallust
waybar waybar
wget wget
wl-clipboard wl-clipboard
@@ -92,7 +89,7 @@ source "$(dirname "$(readlink -f "$0")")/Global_functions.sh"
LOG="Install-Logs/install-$(date +%d-%H%M%S)_hypr-pkgs.log" LOG="Install-Logs/install-$(date +%d-%H%M%S)_hypr-pkgs.log"
# uninstalling conflicting packages # uninstalling conflicting packages
printf "\n%s - Removing Mako, Dunst and rofi-wayland as it conflicts with swaync and rofi-wayland \n" "${NOTE}" printf "\n%s - Removing Mako, Dunst and rofi as it conflicts with swaync and rofi-wayland \n" "${NOTE}"
for PKG in "${uninstall[@]}"; do for PKG in "${uninstall[@]}"; do
uninstall_package "$PKG" 2>&1 | tee -a "$LOG" uninstall_package "$PKG" 2>&1 | tee -a "$LOG"
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then

View File

@@ -3,8 +3,13 @@
# Main Hyprland Package # # Main Hyprland Package #
hypr=( hypr=(
hyprland
hyprcursor hyprcursor
hyprutils
aquamarine
hypridle
hyprlock
hyprland
pyprland
) )
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ## ## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##

View File

@@ -275,6 +275,6 @@ if pacman -Q hyprland &> /dev/null || pacman -Q hyprland-git &> /dev/null; then
fi fi
else else
# Print error message if neither package is installed # Print error message if neither package is installed
printf "\n${NOTE} Hyprland failed to install. Please check Install-Logs...\n\n" printf "\n${WARN} Hyprland failed to install. Please check Install-Logs...\n\n"
exit 1 exit 1
fi fi