From ae59888015f857cd1d9e91286598934c584e395c Mon Sep 17 00:00:00 2001 From: Ashish Kumar Yadav Date: Tue, 14 Jul 2020 01:26:52 +0530 Subject: [PATCH] Change signal for time block and reordered comments --- blocks.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/blocks.h b/blocks.h index 68b0fdf..2edffd4 100644 --- a/blocks.h +++ b/blocks.h @@ -3,11 +3,11 @@ #define PATH(name) "/home/ashish/.local/projects/dwmblocks/blocks/"name -/* If multiple realtime signals are pending, then the lowest numbered signal is delivered first. - * If interval of a block is set to 0, the block will only be updated once at startup. +/* If interval of a block is set to 0, the block will only be updated once at startup. * If interval is set to a negative value, the block will never be updated in the main loop. * Set signal to 0 if signalling is not required for the block. - * Keep signal for clickable blocks less than 10. */ + * Keep signal for clickable blocks less than 10. + * If multiple realtime signals are pending, then the lowest numbered signal is delivered first. */ /* pathu - path of the program whose output is to be used for status text * patch - path of the program to be executed on clicks */ @@ -15,7 +15,7 @@ static Block blocks[] = { /* pathu pathc interval signal */ { PATH("hotspot.sh"), PATH("hotspot_button.sh"), -1, 3}, - { PATH("time.sh"), NULL, 30, 6}, + { PATH("time.sh"), NULL, 30, 10}, { PATH("calendar.sh"), PATH("calendar_button.sh"), 60, 6},