Create battery
This commit is contained in:
parent
6dae1f8976
commit
e7fc369f31
|
@ -0,0 +1,8 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
BAT=$(acpi -b | grep "Battery $1" | rg "(\d?\d\d)%" -or '$1')
|
||||||
|
|
||||||
|
echo BAT$(($1 + 1)): $BAT
|
||||||
|
|
||||||
|
|
||||||
|
exit 0
|
Loading…
Reference in New Issue