blob: ea6063a212cef227ba033a0cbedd0799544798b3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/bash
# Prints the fan RPM
# Depends on lm_sensors
PREFIX='🌬️ '
get_fan_speed()
{
echo "$PREFIX$(sensors | grep fan1 | awk 'NR==1{print $2}') RPM"
}
get_fan_speed
|