From 16e3762f78e6c023ceaa9916d5c2056a2c16b72f Mon Sep 17 00:00:00 2001 From: Ashish Kumar Yadav Date: Wed, 8 Jul 2020 23:00:19 +0530 Subject: [PATCH] Updated blocks.h --- blocks.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/blocks.h b/blocks.h index 3d9778b..deac273 100644 --- a/blocks.h +++ b/blocks.h @@ -1,5 +1,5 @@ /* time interval in seconds to sleep before looking for updates in the main loop */ -#define SLEEPINTERVAL 30 +#define SLEEPINTERVAL 1 #define PATH(name) "/home/ashish/.local/projects/dwmblocks/blocks/"name @@ -13,19 +13,19 @@ * patch - path of the program to be executed on clicks */ static Block blocks[] = { /* pathu pathc interval signal */ - { PATH("hotspot.sh"), PATH("hotspot_button.sh"), -1, 1}, + { PATH("hotspot.sh"), PATH("hotspot_button.sh"), -1, 3}, { PATH("time.sh"), NULL, 30, 0}, - { PATH("calendar.sh"), PATH("calendar_button.sh"), 60, 2}, + { PATH("calendar.sh"), PATH("calendar_button.sh"), 60, 6}, -// { PATH("mail.sh"), PATH("mail_button.sh"), 30, 3}, +// { PATH("mail.sh"), PATH("mail_button.sh"), 30, 2}, - { PATH("volume.sh"), PATH("volume_button.sh"), 0, 4}, + { PATH("volume.sh"), PATH("volume_button.sh"), 0, 1}, - { PATH("cpu_temp.sh"), PATH("cpu_temp_button.sh"), 30, 5}, + { PATH("cpu_temp.sh"), PATH("cpu_temp_button.sh"), 1, 5}, - { PATH("battery.sh"), PATH("battery_button.sh"), 0, 6}, + { PATH("battery.sh"), PATH("battery_button.sh"), 0, 4}, { NULL } /* just to mark the end of the array */ };