diff --git a/home/Aloria.nix b/home/Aloria.nix index ea754fff..be1ad01d 100644 --- a/home/Aloria.nix +++ b/home/Aloria.nix @@ -45,7 +45,7 @@ in wayland.windowManager.hyprland.settings = { monitor = [ - "eDP-1,2880x1800@120.00Hz,0x284,1.2" + "eDP-1,2880x1800@120.00Hz,0x284,1.2,vrr,1" "DP-1,1920x1080,6240x500,1" "HDMI-A-1,3840x2160@60.00Hz,2400x0,1" ]; diff --git a/home/ags/files/Bar.tsx b/home/ags/files/Bar.tsx index 4d122998..e02afdb8 100644 --- a/home/ags/files/Bar.tsx +++ b/home/ags/files/Bar.tsx @@ -81,7 +81,7 @@ function Time({ format = "%H:%M:%S" }): JSX.Element { function Temp(): JSX.Element { let [label, _setlabel] = createState("N/A"); if (sensorsAvailable) { - label = createPoll("", 5000, 'sensors', out => { + label = createPoll("", 3000, 'sensors', out => { const match = out.split('\n').find(line => line.includes('Tctl') || line.includes('Package'))?.match(/[0-9.]*°C/); return match ? match[0] : "N/A"; }) @@ -107,7 +107,7 @@ function Memory(): JSX.Element { function ClockSpeed(): JSX.Element { const command = 'bash -c "cat /proc/cpuinfo | grep \\"MHz\\" | awk \'{print \\$4}\' | sort -n | tail -1 | awk \'{printf \\"%.2fGHz\\", \\$1/1000}\'"'; - const speed = createPoll("", 5000, command, out => out) + const speed = createPoll("", 1000, command, out => out) return