mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-03-27 21:47:46 +01:00
statusbar: adjusted cpu script for intel
This commit is contained in:
parent
0c6942bb7d
commit
41d182f481
@ -5,7 +5,7 @@ icon="^b#282828^^c#dfdfdf^ ^d^ "
|
||||
if [ "$1" = "amd" ]; then
|
||||
temp=$(sensors | awk '/Tctl/ {print $2}')
|
||||
elif [ "$1" = "intel" ]; then
|
||||
temp=$(sensors | awk '/Tctl/ {print $3}')
|
||||
temp=$(sensors | awk '/Package id 0/ {print $4}')
|
||||
fi
|
||||
|
||||
temp=$(printf %3s $(echo ${temp##*+} | sed "s/\..*//") | tr ' ' ' ')
|
||||
|
Loading…
x
Reference in New Issue
Block a user