Fix ags font weight

This commit is contained in:
Thomas Avé 2025-07-11 12:18:43 +02:00
parent 1a2bef6b9b
commit 6bb8808fc2
4 changed files with 5 additions and 4 deletions

View File

@ -45,7 +45,7 @@ in
wayland.windowManager.hyprland.settings = { wayland.windowManager.hyprland.settings = {
monitor = [ monitor = [
"eDP-1,2880x1800@120.00Hz,0x284,1.2" "eDP-1,2880x1800@120.00Hz,0x284,1.2,vrr,1"
"DP-1,1920x1080,6240x500,1" "DP-1,1920x1080,6240x500,1"
"HDMI-A-1,3840x2160@60.00Hz,2400x0,1" "HDMI-A-1,3840x2160@60.00Hz,2400x0,1"
]; ];

View File

@ -81,7 +81,7 @@ function Time({ format = "%H:%M:%S" }): JSX.Element {
function Temp(): JSX.Element { function Temp(): JSX.Element {
let [label, _setlabel] = createState<string>("N/A"); let [label, _setlabel] = createState<string>("N/A");
if (sensorsAvailable) { if (sensorsAvailable) {
label = createPoll<string>("", 5000, 'sensors', out => { label = createPoll<string>("", 3000, 'sensors', out => {
const match = out.split('\n').find(line => line.includes('Tctl') || line.includes('Package'))?.match(/[0-9.]*°C/); const match = out.split('\n').find(line => line.includes('Tctl') || line.includes('Package'))?.match(/[0-9.]*°C/);
return match ? match[0] : "N/A"; return match ? match[0] : "N/A";
}) })
@ -107,7 +107,7 @@ function Memory(): JSX.Element {
function ClockSpeed(): 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 command = 'bash -c "cat /proc/cpuinfo | grep \\"MHz\\" | awk \'{print \\$4}\' | sort -n | tail -1 | awk \'{printf \\"%.2fGHz\\", \\$1/1000}\'"';
const speed = createPoll<string>("", 5000, command, out => out) const speed = createPoll<string>("", 1000, command, out => out)
return <label return <label
class="item" class="item"
label={speed} label={speed}

View File

@ -54,6 +54,7 @@ window.Bar {
border: none; border: none;
padding: 0.2em; padding: 0.2em;
border-radius: 0.3em; border-radius: 0.3em;
font-weight: normal;
} }
.focused, .focused,

View File

@ -9,7 +9,7 @@ let
"soft" "soft"
"bg" "bg"
"intr" "intr"
"x-systemd.automount" # "x-systemd.automount"
"x-systemd.idle-timeout=600" "x-systemd.idle-timeout=600"
"x-systemd.device-timeout=2s" "x-systemd.device-timeout=2s"
"x-systemd.mount-timeout=2s" "x-systemd.mount-timeout=2s"