mirror of
https://github.com/rwxrob/dot
synced 2024-11-18 15:25:52 +00:00
4 lines
117 B
Plaintext
4 lines
117 B
Plaintext
|
#!/usr/bin/perl
|
||
|
print grep {/state|to\ full|percentage/}
|
||
|
`upower -i /org/freedesktop/UPower/devices/battery_BAT0`;
|