From 5afafd3baaa614cd3f21e90a9fda0638c05ea51c Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Tue, 11 Mar 2025 11:50:33 +0900 Subject: [PATCH] updated global function --- README.md | 2 ++ install-scripts/Global_functions.sh | 2 +- install-scripts/sddm.sh | 2 -- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7e5c4fa..56fd1ab 100644 --- a/README.md +++ b/README.md @@ -246,6 +246,8 @@ env = GBM_BACKEND,nvidia-drm env = WLR_RENDERER_ALLOW_SOFTWARE,1 ``` +### 🚩 + #### 🫥 Improving performance for Older Nvidia Cards using driver 470 - [`SEE HERE`](https://github.com/JaKooLit/Hyprland-Dots/discussions/123#discussion-6035205) diff --git a/install-scripts/Global_functions.sh b/install-scripts/Global_functions.sh index d8033b9..365f74c 100755 --- a/install-scripts/Global_functions.sh +++ b/install-scripts/Global_functions.sh @@ -71,7 +71,7 @@ install_package() { build_dep() { echo -e "${INFO} building dependencies for ${MAGENTA}$1${RESET} " ( - stdbuf -oL sudo build-dep -y "$1" 2>&1 + stdbuf -oL sudo apt build-dep -y "$1" 2>&1 ) >> "$LOG" 2>&1 & PID=$! show_progress $PID "$1" diff --git a/install-scripts/sddm.sh b/install-scripts/sddm.sh index 1f4ca65..3057b2e 100755 --- a/install-scripts/sddm.sh +++ b/install-scripts/sddm.sh @@ -69,8 +69,6 @@ done printf "\n%.0s" {1..1} printf "${INFO} Activating sddm service........\n" -sudo dpkg-reconfigure sddm 2>&1 | tee -a "$LOG" - sudo systemctl set-default graphical.target 2>&1 | tee -a "$LOG" sudo systemctl enable sddm.service 2>&1 | tee -a "$LOG"