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
@@ -160,7 +160,7 @@ font-2 = "xos4 Terminus:size=22;1"
;cpu_bar memory_bar filesystem_bar mpd_bar ;cpu_bar memory_bar filesystem_bar mpd_bar
;volume brightness battery_bar ;volume brightness battery_bar
modules-left = workspaces cpu memory temp_custom filesystem modules-left = workspaces cpu cpu_temp memory filesystem
modules-center = title modules-center = title
modules-right = pulseaudio mic_status network battery date modules-right = pulseaudio mic_status network battery date
+3 -3
View File
@@ -15,11 +15,11 @@ exec = ~/.config/polybar/scripts/get_mic_status
interval=1 interval=1
label=%output% label=%output%
[module/temp_custom] [module/cpu_temp]
type = custom/script 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 interval=1
label= CPU:%output% label= @ %output%C
[module/checknetwork] [module/checknetwork]
type = custom/script type = custom/script