#!/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