z_mirror/dotfiles

git clone https://git.raiguard.me/z_mirror/dotfiles

Caleb Heuerwaybar: More reliable CPU temperature, add battery wattage633dc81

uraya-alpine
184 B6 linesraw
1#!/usr/bin/env sh
2
3echo $(sensors | awk '
4  /Package/ { printf "%.0f°C\n", substr($4, 2, length($4) - 3) }
5  /Tdie/ { printf "%.0f°C\n", substr($2, 2, length($2) - 2) }
6' | head -1)