From 167829d29f4d80a5ed8b10b044a279c37315dc2c Mon Sep 17 00:00:00 2001 From: "Ja.KooLit" Date: Thu, 26 Oct 2023 00:31:16 +0900 Subject: small updates --- copy.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'copy.sh') 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() { -- cgit v1.2.3