diff --git a/blocks.h b/blocks.h index 88c6a9f..68b0fdf 100644 --- a/blocks.h +++ b/blocks.h @@ -15,12 +15,10 @@ static Block blocks[] = { /* pathu pathc interval signal */ { PATH("hotspot.sh"), PATH("hotspot_button.sh"), -1, 3}, - { PATH("time.sh"), NULL, 30, 0}, + { PATH("time.sh"), NULL, 30, 6}, { PATH("calendar.sh"), PATH("calendar_button.sh"), 60, 6}, -// { PATH("mail.sh"), PATH("mail_button.sh"), 30, 2}, - { PATH("volume.sh"), PATH("volume_button.sh"), 0, 1}, { PATH("cpu_temp.sh"), PATH("cpu_temp_button.sh"), 1, 5}, diff --git a/blocks/calendar_button.sh b/blocks/calendar_button.sh index 68966d1..e6040ae 100755 --- a/blocks/calendar_button.sh +++ b/blocks/calendar_button.sh @@ -1,6 +1,6 @@ #!/bin/dash case "$1" in - 1) exec termite -e "htop -s PERCENT_CPU" ;; - 2) exec termite -e "htop" ;; - 3) exec termite -e "htop -s PERCENT_MEM" ;; + 1) ;; + 2) ;; + 3) ;; esac diff --git a/blocks/hotspot_button.sh b/blocks/hotspot_button.sh index 75518ff..9eb8112 100755 --- a/blocks/hotspot_button.sh +++ b/blocks/hotspot_button.sh @@ -1,4 +1,4 @@ #!/bin/dash case "$1" in - 1|2|3) echo "turn off hotspot" ;; + 1|2|3) ;; esac diff --git a/blocks/mail.sh b/blocks/mail.sh deleted file mode 100755 index e496d22..0000000 --- a/blocks/mail.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/dash - -crit=70 - -read -r temp