From cb3381f68724bfa82074cf959e507ad45a81b28b Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Mon, 25 Jul 2022 22:13:26 +0200 Subject: [PATCH] Change time info --- dwmstatus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dwmstatus.c b/dwmstatus.c index 27850ea..1f7eab7 100644 --- a/dwmstatus.c +++ b/dwmstatus.c @@ -191,11 +191,11 @@ main(void) for (;;sleep(60)) { avgs = loadavg(); - tmbln = mktimes("%d.%m.%Y %H:%M", tzwarsaw); + tmbln = mktimes("%H:%M %d.%m.%Y", tzwarsaw); t0 = gettemperature("/sys/class//hwmon/hwmon1", "temp1_input"); bat = getbattery("/sys/class/power_supply/BAT0"); - status = smprintf("🔋 %s 🌡 %s 📈 %s | %s", + status = smprintf("🔋 %s 🌡 %s 📈 %s 📅 %s", bat, t0, avgs, tmbln); setstatus(status);