Compare commits

...

1 Commits

Author SHA1 Message Date
ekzyis b0afd6ef2c Use America/Mexico_City as time zone 2024-05-03 13:33:53 -05:00
1 changed files with 2 additions and 1 deletions

View File

@ -20,6 +20,7 @@
char *tzargentina = "America/Buenos_Aires"; char *tzargentina = "America/Buenos_Aires";
char *tzutc = "UTC"; char *tzutc = "UTC";
char *tzberlin = "Europe/Berlin"; char *tzberlin = "Europe/Berlin";
char *tzaustin = "America/Mexico_City";
static Display *dpy; static Display *dpy;
@ -230,7 +231,7 @@ main(void)
bat = getbattery("/sys/class/power_supply/BAT0"); bat = getbattery("/sys/class/power_supply/BAT0");
// tmar = mktimes("%H:%M", tzargentina); // tmar = mktimes("%H:%M", tzargentina);
// tmutc = mktimes("%H:%M", tzutc); // 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 ' '"); // kbmap = execscript("setxkbmap -query | grep layout | cut -d':' -f 2- | tr -d ' '");
// surfs = execscript("surf-status"); // surfs = execscript("surf-status");
t0 = gettemperature("/sys/devices/virtual/thermal/thermal_zone0", "temp"); t0 = gettemperature("/sys/devices/virtual/thermal/thermal_zone0", "temp");