From 7887053e84362ac46b77edbfbeca03c1fa9d370d Mon Sep 17 00:00:00 2001 From: Miguel BarĂ£o Date: Mon, 4 Jul 2022 17:35:55 +0100 Subject: [PATCH] Unknown and plugged in --- battery | Bin 15440 -> 0 bytes battery.c | 6 ++++-- 2 files changed, 4 insertions(+), 2 deletions(-) delete mode 100755 battery diff --git a/battery b/battery deleted file mode 100755 index a30199b..0000000 Binary files a/battery and /dev/null differ diff --git a/battery.c b/battery.c index 74e15db..9132324 100644 --- a/battery.c +++ b/battery.c @@ -38,9 +38,11 @@ int main() { printf("\uf583 %d%%\n", life); break; case 7: /* disconnected */ - printf("\uf590 Disconnected"); + printf("\uf1e6 Plugged"); break; + default: /* unknown code */ + printf("\uf590"); } - return 0; + return EXIT_SUCCESS; } -- libgit2 0.21.2