My personal dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

brightness 161B

1234567891011
  1. #!/bin/sh
  2. Brightness() {
  3. BRIGHT=$(printf '%.*f\n' 0 `xbacklight`)
  4. echo $BRIGHT
  5. }
  6. while true; do
  7. echo -e "V\uf0eb $(Brightness)%"
  8. sleep 1;
  9. done