diff options
-rwxr-xr-x | modules/temperature | 2 | ||||
-rwxr-xr-x | modules/volume | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/modules/temperature b/modules/temperature index 19c3de3..39fe39d 100755 --- a/modules/temperature +++ b/modules/temperature @@ -8,7 +8,7 @@ get_temperature() # CPU_T=$(cat /sys/devices/platform/coretemp.0/hwmon/hwmon?/temp2_input) # CPU_TEMP=$(expr $CPU_T / 1000) - CPU_TEMP="$(sensors | grep temp1 | awk '{print $2}')" + CPU_TEMP="$(sensors | grep temp1 | awk '{gsub("+", " "); print $2}')" # elif [ "$CPU_TEMP" -le 10 ]; then # echo " $CPU_TEMP" diff --git a/modules/volume b/modules/volume index 27bb7dd..f9ba74e 100755 --- a/modules/volume +++ b/modules/volume @@ -12,9 +12,9 @@ get_volume(){ if [ "${curStatus}" = 'yes' ] then - echo "$VOLUME_MUTED_ICON $volume%" + echo "$VOLUME_MUTED_ICON $volume%" else - echo "$VOLUME_ON_ICON $volume%" + echo "$VOLUME_ON_ICON $volume%" fi } |