[READ-ONLY] Mirror of https://github.com/jmrplens/ShellFish-Widgets. Bash scripts to send information from the server to the widget.
0

Configure Feed

Select the types of activity you want to include in your feed.

fix

José M. Requena Plens (Sep 8, 2024, 1:05 AM +0200) 754d41a1 0d99b7a5

+3 -3
+3 -3
small_widget_A.sh
··· 166 166 cpu_string="${cpu_usage}%" 167 167 168 168 # 5. Color calculations based on percentages 169 - cpu_color=$(calculate_color "$cpu_usage" 20 95) 170 - memory_color=$(calculate_color "$mem_percent" 20 95) 171 - disk_color=$(calculate_color "$disk_info_percent" 30 95) 169 + cpu_color=$(calculate_color "$cpu_usage" 10 95) 170 + memory_color=$(calculate_color "$mem_percent" 10 95) 171 + disk_color=$(calculate_color "$disk_info_percent" 20 95) 172 172 temp_color=$(calculate_color "$cpu_temp" 45 90) 173 173 174 174 # Widget command using SF Symbols and strings in the correct format with colors