mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
feature(temp script): added script to use awk and avg core temps
This commit is contained in:
parent
69435b9ed2
commit
1f27352848
4
.local/bin/polybar_scripts/sys_temp
Executable file
4
.local/bin/polybar_scripts/sys_temp
Executable file
@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
sensors -f | awk '/Core / { gsub(/+|°|C/,""); {sum+=$3; n++} print sum/n; }' | tail -1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user