% brightness 10ソースはこちら。
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
#!/bin/sh | |
if [ $# -eq 0 ]; then | |
echo 'Usage: brightness <num 1 - 15>' 1>&2 | |
exit 1 | |
fi | |
sudo su -c "echo $1 > /sys/class/backlight/acpi_video0/brightness" |
0 件のコメント:
コメントを投稿