diff options
Diffstat (limited to '.local/bin/status/sb-temp')
-rwxr-xr-x | .local/bin/status/sb-temp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/.local/bin/status/sb-temp b/.local/bin/status/sb-temp index 1d71bb0..dc2ad35 100755 --- a/.local/bin/status/sb-temp +++ b/.local/bin/status/sb-temp @@ -1,3 +1,7 @@ #!/bin/sh -echo -n "" $(sysctl -n dev.cpu.0.temperature | cut -d '.' -f1)"°C" +case $(hostname -s) in + mother) ;; + po-rbo) cat /sys/class/hwmon/hwmon5/temp1_input | awk '{printf (" %3.1f°C", ($1 / 1000))}' ;; + mars) echo -n "" $(sysctl -n dev.cpu.0.temperature | cut -d '.' -f1)"°C" ;; +esac |