Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Nov 2nd, 2012  |  syntax: Bash  |  size: 0.24 KB  |  views: 53  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. ## bri0-bri7 for setting brightness. adjust to your brightness range and path as necessary.
  2. for i in 0 1 2 3 4 5 6 7
  3. do
  4.     baseName="bri${i}"
  5.     alias $baseName="sudo su -c 'echo ${i} > /sys/class/backlight/acpi_video0/brightness'"
  6. done
clone this paste RAW Paste Data