Created
June 9, 2021 19:07
-
-
Save redsfyre/16536f9b91e27f65eb541fb63c876851 to your computer and use it in GitHub Desktop.
Simple script I wrote for Arch Linux to use Nvidia brightness setting properly
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for x in \ | |
nvidia-460.67-5-x86_64.pkg.tar.zst \ | |
nvidia-dkms-460.67-1-x86_64.pkg.tar.zst \ | |
nvidia-settings-460.67-1-x86_64.pkg.tar.zst \ | |
nvidia-utils-460.67-1-x86_64.pkg.tar.zst \ | |
; do | |
test -f $x || \ | |
wget https://archive.archlinux.org/repos/2021/04/08/extra/os/x86_64/$x | |
done | |
pacman -U *.zst |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment