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.

battery 197B

1234567891011
  1. #!/bin/sh
  2. Battery() {
  3. BATPERC=$(acpi --battery | cut -d, -f2)" ("$(acpi --battery | cut -d ' ' -f5)") "
  4. echo "$BATPERC"
  5. }
  6. while true; do
  7. echo -e "Z\uf240$(Battery)"
  8. sleep 1;
  9. done