Skip to content

Instantly share code, notes, and snippets.

@piousdeer
Forked from redsfyre/nvfixbl.sh
Created August 21, 2021 18:00
Show Gist options
  • Save piousdeer/dac399da704cff1411933c652e846cfa to your computer and use it in GitHub Desktop.
Save piousdeer/dac399da704cff1411933c652e846cfa 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