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
#!/usr/bin/perl | |
# Above path to perl may need to be changed, depending on your env. Type "which perl" in a terminal to find out. | |
# Original script by Thomas Johansson | |
use strict; | |
use warnings; | |
my $statusnum = ""; | |
my $battery = "0"; |