From b0afd6ef2ca0500bcbc581461fe74161c14f4c0d Mon Sep 17 00:00:00 2001 From: ekzyis Date: Fri, 3 May 2024 13:33:53 -0500 Subject: [PATCH] Use America/Mexico_City as time zone --- dwmstatus.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dwmstatus.c b/dwmstatus.c index d776007..00d59c2 100644 --- a/dwmstatus.c +++ b/dwmstatus.c @@ -20,6 +20,7 @@ char *tzargentina = "America/Buenos_Aires"; char *tzutc = "UTC"; char *tzberlin = "Europe/Berlin"; +char *tzaustin = "America/Mexico_City"; static Display *dpy; @@ -230,7 +231,7 @@ main(void) bat = getbattery("/sys/class/power_supply/BAT0"); // tmar = mktimes("%H:%M", tzargentina); // tmutc = mktimes("%H:%M", tzutc); - tmbln = mktimes("%a %d %b %H:%M %Z %Y", tzberlin); + tmbln = mktimes("%a %d %b %H:%M %Z %Y", tzaustin); // kbmap = execscript("setxkbmap -query | grep layout | cut -d':' -f 2- | tr -d ' '"); // surfs = execscript("surf-status"); t0 = gettemperature("/sys/devices/virtual/thermal/thermal_zone0", "temp");