aboutsummaryrefslogtreecommitdiffstats
path: root/copy.sh
diff options
context:
space:
mode:
authorJa.KooLit <ejhay.games@gmail.com>2023-10-26 00:31:16 +0900
committerJa.KooLit <ejhay.games@gmail.com>2023-10-26 00:31:16 +0900
commit167829d29f4d80a5ed8b10b044a279c37315dc2c (patch)
treea468002b1cd1b4322f3f2392ca09bdfb427dff5b /copy.sh
parent0939949c87b46acc3c91bd4a0e08e4ce5f50d5f4 (diff)
small updates
Diffstat (limited to 'copy.sh')
-rw-r--r--copy.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/copy.sh b/copy.sh
index ac59713b..cc42efe9 100644
--- a/copy.sh
+++ b/copy.sh
@@ -21,6 +21,12 @@ RESET=$(tput sgr0)
# Set the name of the log file to include the current date and time
LOG="install-$(date +%d-%H%M%S)_dotfiles.log"
+#uncommenting WLR_NO_HARDWARE_CURSORS if nvidia is detected
+if lspci -k | grep -A 2 -E "(VGA|3D)" | grep -iq nvidia; then
+ # NVIDIA GPU detected, uncomment line 23 in ENVariables.conf
+ sed -i '/env = WLR_NO_HARDWARE_CURSORS,1/s/^#//' config/hypr/configs/ENVariables.conf
+fi
+
# preparing hyprland.conf keyboard layout
# Function to detect keyboard layout in an X server environment
detect_x_layout() {
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage