diff options
Diffstat (limited to 'scripts/.local/bin/personal/syshealth')
-rwxr-xr-x | scripts/.local/bin/personal/syshealth | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/.local/bin/personal/syshealth b/scripts/.local/bin/personal/syshealth index 48dcfa4..5c7ebe5 100755 --- a/scripts/.local/bin/personal/syshealth +++ b/scripts/.local/bin/personal/syshealth @@ -18,12 +18,12 @@ temperature_message=("Warning:" "Core TEMPERATURE critical") if ((${local_percent::-2} <= 15)); then if [[ "${local_state::-1}" == "Discharging" ]]; then - /usr/local/bin/herbe " ${battery_message[0]} ${battery_message[1]}" & + /usr/bin/notify-send -u critical " ${battery_message[0]} ${battery_message[1]}" & # espeak "${battery_message[0]}${battery_message[1]}" fi elif ((${local_percent::-2} >= 90)); then if [[ "${local_state::-1}" == "Charging" ]]; then - /usr/local/bin/herbe " ${battery_message[0]} ${battery_message[1]}" & + /usr/bin/notify-send -u critical " ${battery_message[0]} ${battery_message[1]}" & # espeak "${battery_message[0]}${battery_message[1]}" fi fi @@ -33,7 +33,7 @@ local_temp="$(echo $sensors_report | awk '{print $4}' | sed 's/+//g')" local_temp_high="$(echo $sensors_report | awk '{print $7}' | sed 's/+//g')" if ((${local_temp::-4} >= 90)); then - /usr/local/bin/herbe " ${temperature_message[0]} ${temperature_message[1]}" & + /usr/bin/notify-send -u critical " ${temperature_message[0]} ${temperature_message[1]}" & # espeak "${temperature_message[0]}${temperature_message[1]}" fi |