Last active
January 4, 2019 06:26
-
-
Save jmdots/43cf9c264be810558190ea51621c6055 to your computer and use it in GitHub Desktop.
macbook-ubuntu-brightness.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -euo pipefail | |
level=${1} && shift ## default was 1808 | |
echo ${level} > /sys/class/backlight/intel_backlight/brightness |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment