Skip to content

Instantly share code, notes, and snippets.

@redsfyre
Created June 9, 2021 19:07
Show Gist options
  • Save redsfyre/16536f9b91e27f65eb541fb63c876851 to your computer and use it in GitHub Desktop.
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
#!/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