dwm-status-bar-freebsd/temperature-laptop

4 lines
93 B
Plaintext
Raw Permalink Normal View History

2023-05-30 10:01:34 +02:00
#!/bin/sh
T=$(sysctl -a | grep temperature | cut -d ' ' -f2 | cut -d 'C' -f1)
echo  $T°C