do a bunch of shit

This commit is contained in:
Schrottkatze 2025-01-15 14:44:32 +01:00
commit fa9a5caea6
No known key found for this signature in database
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 [