1 2 3 4 5 6
#!/bin/sh if [ $(light) = 0.00 ]; then light -S 1; else light -S $(echo 1.122\*$(light) | bc); fi;