From fd5a96c4e84c62ec28c5596a5d3775f9523a2a56 Mon Sep 17 00:00:00 2001 From: tux Date: Fri, 24 Jul 2026 20:18:17 +0530 Subject: [PATCH] fix: profile and ping stdout --- widgets/control-center/system-info.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/widgets/control-center/system-info.tsx b/widgets/control-center/system-info.tsx index 0e5c52c..7325a93 100644 --- a/widgets/control-center/system-info.tsx +++ b/widgets/control-center/system-info.tsx @@ -4,8 +4,8 @@ import { createPoll } from "ags/time"; export const SystemInfo = () => { const cpu = PollCMD("cat /sys/class/thermal/thermal_zone*/temp"); const gpu = PollCMD("supergfxctl -g"); - const profile = PollCMD("asusctl profile -p"); - const tailscale = PollCMD("tailscale ping homelab"); + const profile = PollCMD("asusctl profile get"); + const home = PollCMD("ping 100.64.0.3 -c 1"); const cpuUsage = PollCMD( `awk '{u=$2+$4; t=$2+$3+$4+$5+$6+$7+$8; if(NR==1){u1=u; t1=t}else{printf "%.1f%%",(u-u1)*100/(t-t1)}}' <(grep '^cpu ' /proc/stat; sleep 1; grep '^cpu ' /proc/stat)`, 2000, @@ -66,7 +66,7 @@ export const SystemInfo = () => {