25 lines
341 B
Plaintext
25 lines
341 B
Plaintext
# Color declarations
|
|
red="\\033[0;31m"
|
|
green="\\033[0;32m"
|
|
cyan="\\033[0;36m"
|
|
nc="\\033[0m"
|
|
|
|
# High and low temperature points
|
|
extreme=80
|
|
high=60
|
|
low=55
|
|
|
|
# Interval
|
|
slp=1
|
|
|
|
# Locations of sensor data
|
|
sens='/sys/class/hwmon/hwmon*/temp*_input'
|
|
fan='/sys/class/hwmon/hwmon*/fan*_input'
|
|
arr=($sens)
|
|
|
|
# Fan speed levels
|
|
slow=1
|
|
med=2
|
|
fast=4
|
|
max=7
|