changed custom temp widget

This commit is contained in:
2021-06-24 09:54:26 +02:00
parent e3fd87259a
commit a3dbce034c
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -15,11 +15,11 @@ exec = ~/.config/polybar/scripts/get_mic_status
interval=1
label=%output%
[module/temp_custom]
[module/cpu_temp]
type = custom/script
exec = sensors | awk '/Core/ {print $3}' | head -n 1 | tr -d +
exec = sensors | awk '/Core/ {printf "%.0f\n", $3}' | tail -n1
interval=1
label= CPU:%output%
label= @ %output%C
[module/checknetwork]
type = custom/script