mirror of
https://github.com/FAUSheppy/config
synced 2025-12-06 07:01:36 +01:00
various changes
This commit is contained in:
@@ -64,8 +64,8 @@ def battery():
|
||||
return color_panel("Discharging",RED,seper=False) + color_panel(bat.lstrip("Discharging ,").strip('\n'),get_color(plain,0,100))
|
||||
else:
|
||||
return color_panel(bat.strip('\n'),get_color(plain,0,100))
|
||||
except ValueError as e:
|
||||
return color_panel(str(e),RED)
|
||||
except ValueError as e:
|
||||
return color_panel(str(e),RED)
|
||||
|
||||
def battery_status():
|
||||
if is_laptop:
|
||||
|
||||
Reference in New Issue
Block a user