From e8666bfac870fb352ea502f56c4c5e835cac43dc Mon Sep 17 00:00:00 2001 From: Jared G Date: Thu, 18 Jan 2024 10:04:35 -0600 Subject: [PATCH] Fixed indents --- functions/_tide_item_pi_temp.fish | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/functions/_tide_item_pi_temp.fish b/functions/_tide_item_pi_temp.fish index 3a47f5c..9b9059e 100644 --- a/functions/_tide_item_pi_temp.fish +++ b/functions/_tide_item_pi_temp.fish @@ -1,15 +1,15 @@ function _tide_item_pi_temp - if type -q vcgencmd - vcgencmd measure_temp | string match -qr "(?[\d.]+)" - if test $t -ge 80 - set tide_pi_temp_color $tide_pi_temp_hi_color - else - if test $t -ge 70 - set tide_pi_temp_color $tide_pi_temp_mid_color - else - set tide_pi_temp_color $tide_pi_temp_lo_color - end + if type -q vcgencmd + vcgencmd measure_temp | string match -qr "(?[\d.]+)" + if test $t -ge 80 + set tide_pi_temp_color $tide_pi_temp_hi_color + else + if test $t -ge 70 + set tide_pi_temp_color $tide_pi_temp_mid_color + else + set tide_pi_temp_color $tide_pi_temp_lo_color + end + end + _tide_print_item pi_temp $t' ' $tide_pi_temp_icon end - _tide_print_item pi_temp $t' ' $tide_pi_temp_icon - end end