mirror of
https://git.adityakumar.xyz/dwmbar.git
synced 2024-11-13 23:49:43 +00:00
13 lines
172 B
Bash
Executable file
13 lines
172 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# Prints the fan RPM
|
|
# Depends on lm_sensors
|
|
|
|
PREFIX=' '
|
|
|
|
get_fan_speed()
|
|
{
|
|
echo "$PREFIX$(sensors | grep fan1 | cut -d " " -f 9) RPM"
|
|
}
|
|
|
|
get_fan_speed
|