diff --git a/README.md b/README.md index 860efbe..e5602d5 100644 --- a/README.md +++ b/README.md @@ -248,6 +248,9 @@ source ~/.zshrc #### 🛣️ Roadmap: - [ ] possibly adding gruvbox themes, cursors, icons +### ⁉️ KNOWN ISSUE +- [ ] hypridle wont build (Feb 2025) + #### ❗ some known issues for nvidia - reports from members of my discord, states that some users of nvidia are getting stuck on sddm login. credit to @Kenni Fix stated was ``` @@ -271,8 +274,6 @@ env = WLR_RENDERER_ALLOW_SOFTWARE,1 ``` #### ❗ other known issues -- [ ] hypridle wont build -- [ ] ags (aylurs gtk shell) wont build > [!NOTE] > Auto start of Hyprland after login (no SDDM or GDM or any login managers) diff --git a/install-scripts/00-dependencies.sh b/install-scripts/00-dependencies.sh index 7242e18..01f7de2 100755 --- a/install-scripts/00-dependencies.sh +++ b/install-scripts/00-dependencies.sh @@ -59,6 +59,10 @@ dependencies=( xwayland ) +build_dep=( + wlroots +) + ## 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 )" @@ -75,8 +79,14 @@ LOG="Install-Logs/install-$(date +%d-%H%M%S)_dependencies.log" # Installation of main dependencies printf "\n%s - Installing ${SKY_BLUE}main dependencies....${RESET} \n" "${NOTE}" -for PKG1 in "${dependencies[@]}"; do - install_package "$PKG1" "$LOG" +for PKG in "${dependencies[@]}"; do + install_package "$PKG" "$LOG" +done + +printf "\n%.0s" {1..1} + +for PKG1 in "${build_dep[@]}"; do + build_dep "$PKG1" "$LOG" done printf "\n%.0s" {1..2} diff --git a/install-scripts/Global_functions.sh b/install-scripts/Global_functions.sh index 2e19d4a..c4b8682 100755 --- a/install-scripts/Global_functions.sh +++ b/install-scripts/Global_functions.sh @@ -68,6 +68,16 @@ install_package() { fi } +# Function for build depencies with a progress bar +build_dep() { + echo -e "${INFO} building depencies for ${MAGENTA}$1${RESET} " + ( + stdbuf -oL sudo build-dep -y "$1" 2>&1 + ) >> "$LOG" 2>&1 & + PID=$! + show_progress $PID "$1" +} + # Function for re-installing packages with a progress bar re_install_package() { ( diff --git a/install-scripts/ags.sh b/install-scripts/ags.sh index e7184ff..de66613 100755 --- a/install-scripts/ags.sh +++ b/install-scripts/ags.sh @@ -29,6 +29,10 @@ f_ags=( npm ) +build_dep=( + pam +) + # specific tags to download ags_tag="v1.9.0" @@ -58,6 +62,12 @@ for force_ags in "${f_ags[@]}"; do re_install_package "$force_ags" 2>&1 | tee -a "$LOG" done +printf "\n%.0s" {1..1} + +for PKG1 in "${build_dep[@]}"; do + build_dep "$PKG1" "$LOG" +done + #install typescript by npm sudo npm install --global typescript 2>&1 | tee -a "$LOG"