mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-05-18 19:10:21 -07:00
docs not generated in DragPane.hs
This commit is contained in:
parent
9d9316beff
commit
dd3bd26cec
@ -8,7 +8,7 @@
|
|||||||
-- Maintainer : David Roundy <droundy@darcs.net>
|
-- Maintainer : David Roundy <droundy@darcs.net>
|
||||||
-- Stability : unstable
|
-- Stability : unstable
|
||||||
-- Portability : unportable
|
-- Portability : unportable
|
||||||
|
--
|
||||||
-- Layouts that splits the screen either horizontally or vertically and
|
-- Layouts that splits the screen either horizontally or vertically and
|
||||||
-- shows two windows. The first window is always the master window, and
|
-- shows two windows. The first window is always the master window, and
|
||||||
-- the other is either the currently focused window or the second window in
|
-- the other is either the currently focused window or the second window in
|
||||||
|
@ -30,7 +30,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|||||||
/* configuration */
|
/* configuration */
|
||||||
#define REFRESH_RATE 60
|
#define REFRESH_RATE 60
|
||||||
#define TIME_FORMAT "%H.%M %a %b %d"
|
#define TIME_FORMAT "%H.%M %a %b %d"
|
||||||
#define TIME_FORMAT2 "PDT %H.%M"
|
#define TIME_FORMAT2 "SYD %H.%M"
|
||||||
|
|
||||||
int main(void) {
|
int main(void) {
|
||||||
char b[34];
|
char b[34];
|
||||||
@ -52,7 +52,7 @@ int main(void) {
|
|||||||
realtime = localtime(&epochtime);
|
realtime = localtime(&epochtime);
|
||||||
strftime(b, sizeof(b), TIME_FORMAT, realtime);
|
strftime(b, sizeof(b), TIME_FORMAT, realtime);
|
||||||
|
|
||||||
setenv("TZ","America/Los_Angeles", 1);
|
setenv("TZ","Australia/Sydney", 1);
|
||||||
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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user