Root commit.
This commit is contained in:
commit
7183fd6b99
21 changed files with 974 additions and 0 deletions
16
sb-cpu-temp
Executable file
16
sb-cpu-temp
Executable file
|
@ -0,0 +1,16 @@
|
|||
#!/bin/env bash
|
||||
|
||||
# Temp=$(sensors | awk '/^Tctl:/ {print $2 }')
|
||||
|
||||
. sb-theme
|
||||
|
||||
while read -a Line; do
|
||||
if [ "${Line[0]}" == 'Tctl:' ]; then
|
||||
Temp=${Line[1]}
|
||||
|
||||
break
|
||||
fi
|
||||
done <<< "$(sensors)"
|
||||
|
||||
cpuVal=${Temp:1:-4}
|
||||
display "$Temp" $1 "$cpuVal"
|
Loading…
Add table
Add a link
Reference in a new issue