diff -r -u a/slstatus/components/battery.c b/slstatus/components/battery.c --- a/slstatus/components/battery.c 2025-05-01 17:34:50.686576726 +0200 +++ b/slstatus/components/battery.c 2025-05-24 11:54:19.365389265 +0200 @@ -56,10 +56,10 @@ char *state; char *symbol; } map[] = { - { "Charging", "+" }, - { "Discharging", "-" }, - { "Full", "o" }, - { "Not charging", "o" }, + { "Charging", "󰁾󱐋" }, + { "Discharging", "󰁾" }, + { "Full", "󰁹󱐋" }, + { "Not charging", "󰁹" }, }; size_t i; char path[PATH_MAX], state[12]; diff -r -u a/slstatus/components/datetime.c b/slstatus/components/datetime.c --- a/slstatus/components/datetime.c 2025-05-01 17:34:50.686576726 +0200 +++ b/slstatus/components/datetime.c 2025-05-24 11:33:30.573630300 +0200 @@ -1,6 +1,7 @@ /* See LICENSE file for copyright and license details. */ #include #include +#include #include "../slstatus.h" #include "../util.h" @@ -8,6 +9,7 @@ const char * datetime(const char *fmt) { + setlocale(LC_ALL,"fr_FR.utf8"); time_t t; t = time(NULL); diff -r -u a/slstatus/config.def.h b/slstatus/config.def.h --- a/slstatus/config.def.h 2025-05-01 17:34:50.686576726 +0200 +++ b/slstatus/config.def.h 2025-05-24 14:38:22.311193608 +0200 @@ -66,5 +66,8 @@ */ static const struct arg args[] = { /* function format argument */ - { datetime, "%s", "%F %T" }, + { battery_remaining, "%s", "BAT0"}, + { battery_state, " %s", "BAT0"}, + { battery_perc, " %s%%", "BAT0" }, + { datetime, " | %s", "%a %d %b %T" }, };