Skip to content

Instantly share code, notes, and snippets.

@spacepluk
Created February 28, 2015 10:35
Show Gist options
  • Save spacepluk/29b8e6c79e3d2c06e10f to your computer and use it in GitHub Desktop.
Save spacepluk/29b8e6c79e3d2c06e10f to your computer and use it in GitHub Desktop.
#!/bin/sh
maxbrightness=`cat /sys/class/backlight/intel_backlight/max_brightness`
brightness=/sys/class/backlight/intel_backlight/brightness
sudo tee $brightness <<< $maxbrightness
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment