nixos-config/modules/home-manager/ricing/hyprland/eww/scripts/cpu.sh
2024-07-12 18:19:30 +09:00

4 lines
90 B
Bash

#!/bin/sh
CPU=$(cat /sys/class/thermal/thermal_zone*/temp)
TEMP=$((CPU / 1000))
echo $TEMP