summaryrefslogtreecommitdiff
path: root/.local/bin/statusbar/bar-gpu
blob: 5351a2ff68acfd45b8535eabf5886b6996727f90 (plain)
1
2
3
4
5
6
#!/bin/sh

temp="$(sensors | awk '/edge/ { print $2 } ')"
fan="$(sensors | awk '/fan1/ { print $2 } ')"
power="$(sensors | awk '/power1/ { print $2 } ')" 
echo -n "${temp#+} $fan RPM"