You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/usr/bin/env fish
|
|
|
|
if test "$argv[1]" = "-w"
|
|
set time $argv[2]
|
|
test -z "$time" && set time 1
|
|
while true
|
|
echo (cpu-temp)
|
|
sleep $time
|
|
end
|
|
else
|
|
sensors -j | jq '."k10temp-pci-00c3".Tdie.temp1_input'
|
|
end
|