do a bunch of shit

This commit is contained in:
Schrottkatze 2025-01-15 14:44:32 +01:00
parent 5521d3f479
commit fa9a5caea6
Signed by: schrottkatze
SSH key fingerprint: SHA256:FPOYVeBy3QP20FEM42uWF1Wa/Qhlk+L3S2+Wuau/Auo
4 changed files with 14 additions and 15 deletions

View file

@ -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 [