changed custom temp widget
This commit is contained in:
@@ -160,7 +160,7 @@ font-2 = "xos4 Terminus:size=22;1"
|
||||
;cpu_bar memory_bar filesystem_bar mpd_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-right = pulseaudio mic_status network battery date
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user