Fix temperature waybar on Linux.
This commit is contained in:
parent
38d255f0ab
commit
967f7dac16
@ -1,5 +0,0 @@
|
||||
- name: Install packages
|
||||
package:
|
||||
name:
|
||||
- noise-suppression-for-voice-lv2
|
||||
state: present
|
@ -10,7 +10,7 @@ SLEEP_INTERVAL=${SLEEP_INTERVAL:-30}
|
||||
function print_all_x86_pkg_temps {
|
||||
for thermal_zone in /sys/class/thermal/thermal_zone*; do
|
||||
local thermal_zone_type=$(cat "$thermal_zone/type")
|
||||
if [ "$thermal_zone_type" != "x86_pkg_temp" ]; then
|
||||
if [ "$thermal_zone_type" != "x86_pkg_temp" ] && [ "$thermal_zone_type" != "acpitz" ]; then
|
||||
continue
|
||||
fi
|
||||
local thermal_zone_temperature=$(cat "$thermal_zone/temp")
|
||||
|
Loading…
x
Reference in New Issue
Block a user