Skip to content

Instantly share code, notes, and snippets.

@haylinmoore
Created February 17, 2020 06:35
Show Gist options
  • Save haylinmoore/77ce931da0c10716915df6d7ad7f6420 to your computer and use it in GitHub Desktop.
Save haylinmoore/77ce931da0c10716915df6d7ad7f6420 to your computer and use it in GitHub Desktop.
#!/usr/bin/env sh
expr $(cat /sys/class/backlight/intel_backlight/brightness) + "$1" > /sys/class/backlight/intel_backlight/brightness
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment