do a bunch of shit
This commit is contained in:
parent
5521d3f479
commit
fa9a5caea6
4 changed files with 14 additions and 15 deletions
|
@ -40,11 +40,7 @@ def get_bat_charging_status [
|
|||
] {
|
||||
let status = open $"/sys/class/power_supply/($path)/status";
|
||||
|
||||
if ($status == Charging) {
|
||||
true
|
||||
} else {
|
||||
false
|
||||
}
|
||||
$status like Charging
|
||||
}
|
||||
|
||||
def get_bat_icon [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue