Address rewording of prompt
This commit is contained in:
parent
6676973fe6
commit
e85e2e48c6
@ -109,16 +109,16 @@ function configure {
|
|||||||
if (echo "$sensorsOutput" | grep -q "coretemp-"); then
|
if (echo "$sensorsOutput" | grep -q "coretemp-"); then
|
||||||
# Intel CPU
|
# Intel CPU
|
||||||
# Prompt user for which temperature to use
|
# Prompt user for which temperature to use
|
||||||
read -p "Do you wish to display all cores [Y] or package temp (averge, single temperature)[n]? (Y/n): " choice
|
read -p "Do you wish to display temperatures for all cores [C] or just an average value(s) per CPU [a]? (C/a): " choice
|
||||||
case "$choice" in
|
case "$choice" in
|
||||||
# Set temperature search criteria
|
# Set temperature search criteria
|
||||||
[yY]|"")
|
[cC]|"")
|
||||||
if (echo "$sensorsOutput" | grep -A 10 "coretemp-" | grep -q "Core "); then
|
if (echo "$sensorsOutput" | grep -A 10 "coretemp-" | grep -q "Core "); then
|
||||||
CPU_ITEM_PREFIX="Core "
|
CPU_ITEM_PREFIX="Core "
|
||||||
CPU_TEMP_CAPTION="Core"
|
CPU_TEMP_CAPTION="Core"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
[nN] )
|
[aA] )
|
||||||
if (echo "$sensorsOutput" | grep -A 10 "coretemp-" | grep -q "Package id "); then
|
if (echo "$sensorsOutput" | grep -A 10 "coretemp-" | grep -q "Package id "); then
|
||||||
CPU_ITEM_PREFIX="Package id"
|
CPU_ITEM_PREFIX="Package id"
|
||||||
CPU_TEMP_CAPTION="Package"
|
CPU_TEMP_CAPTION="Package"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user