scripts

Random scripts
git clone git://git.margiolis.net/scripts.git
Log | Files | Refs | README | LICENSE

bright (220B)


      1 #!/bin/sh
      2 
      3 bright=$(backlight -q -f /dev/backlight/backlight0)
      4 test $# -eq 0 && echo ${bright} && exit
      5 test ${bright} -le 10 -a "$(echo ${1} | grep "^[+|-]")" == "-" && exit
      6 backlight -f /dev/backlight/backlight0 "${1}"