#/bin/sh #UPTIME=$(uptime -p) DATE=$(date +'%H.%M.%S %d.%m.%Y') CPU_TEMP=$(sensors -j | jq '.["k10temp-pci-00c3"].Tccd1.temp3_input') GPU_TEMP=$(sensors -j | jq '.["amdgpu-pci-0300"].junction.temp2_input') # Returns the battery status: "Full", "Discharging", or "Charging". #BATTERY=$(cat /sys/class/power_supply/BAT0/status) CPU=$(cat /proc/loadavg | cut -d ' ' -f1,2,3) echo C:$CPU_TEMP, G:$GPU_TEMP \| load: $CPU \| $DATE