mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-05-19 11:30:22 -07:00
missing unsetenv
This commit is contained in:
parent
1c6b90997b
commit
08186df89d
@ -1,8 +1,9 @@
|
|||||||
/*
|
/*
|
||||||
dwm status bar provider. use as ~/.xinitrc or call it in your xinitrc
|
|
||||||
or xsession in place of dwm.
|
|
||||||
|
|
||||||
to compile: gcc -Os -s -o dwm-status dwm-status.c
|
dwm/xmonad status bar provider. launch from your .xinitrc, and pipe
|
||||||
|
into dzen2.
|
||||||
|
|
||||||
|
to compile: gcc -Os -s -o xmonad-status xmonad-status.c
|
||||||
|
|
||||||
Copyright (c) 2007, Tom Menari <tom dot menari at googlemail dot com>
|
Copyright (c) 2007, Tom Menari <tom dot menari at googlemail dot com>
|
||||||
Copyright (c) 2007, Don Stewart
|
Copyright (c) 2007, Don Stewart
|
||||||
@ -55,6 +56,7 @@ int main(void) {
|
|||||||
pdttime = time(NULL);
|
pdttime = time(NULL);
|
||||||
pdtrealtime = localtime(&pdttime);
|
pdtrealtime = localtime(&pdttime);
|
||||||
strftime(c, sizeof(c), TIME_FORMAT2, pdtrealtime);
|
strftime(c, sizeof(c), TIME_FORMAT2, pdtrealtime);
|
||||||
|
unsetenv("TZ");
|
||||||
|
|
||||||
fprintf(stdout, "%s | %s | %.2f | xmonad 0.3 \n", b, c, load);
|
fprintf(stdout, "%s | %s | %.2f | xmonad 0.3 \n", b, c, load);
|
||||||
fflush(stdout);
|
fflush(stdout);
|
Loading…
x
Reference in New Issue
Block a user