Backlight info in waybar

This commit is contained in:
Andrea Ciceri 2023-12-11 00:18:42 +01:00
parent 336154214c
commit f4cf29578d
Signed by: aciceri
SSH key fingerprint: SHA256:/AagBweyV4Hlfg9u092n8hbHwD5fcB6A3qhDiDA65Rg

View file

@ -30,6 +30,7 @@
"cpu" "cpu"
"memory" "memory"
"temperature" "temperature"
"backlight"
"battery" "battery"
"clock" "clock"
]; ];
@ -106,7 +107,13 @@
critical-threshold = 80; critical-threshold = 80;
format = "{temperatureC}°C {icon}"; format = "{temperatureC}°C {icon}";
format-icons = ["" "" ""]; format-icons = ["" "" ""];
hwmon-path = "/sys/class/thermal/thermal_zone4/temp"; hwmon-path = "/sys/class/hwmon/hwmon2/temp1_input"; # picard FIXME
# hwmon-path = "/sys/class/thermal/thermal_zone4/temp"; # thinkpad
};
backlight = {
device = "ddcci2";
format = "{percent}% {icon}";
format-icons = ["" ""];
}; };
}; };
}; };