2024-12-29 02:10 : id 42

This commit is contained in:
deadvey 2024-12-29 02:10:26 +00:00
parent d0948f5e86
commit 2c54f21500

View File

@ -486,7 +486,7 @@ in
position = "top"; position = "top";
height = 20; height = 20;
width = SCREEN_WIDTH; width = SCREEN_WIDTH;
modules-left = [ "cpu" "memory" "disk" "temperature"]; modules-left = [ "cpu" "memory" "disk" "custom/temperature" ];
modules-center = ["custom/clock"]; modules-center = ["custom/clock"];
modules-right = ["custom/metar"]; modules-right = ["custom/metar"];
"custom/clock" = { "custom/clock" = {
@ -512,8 +512,8 @@ in
"disk" = { "disk" = {
format = "{}% /"; format = "{}% /";
}; };
"temperature" = { "custom/temperature" = {
format = "{temperatureC}°C"; format = "sensors | grep 'Tctl:' | sed -E 's/Tctl:[ ]+//'";
interval = 1; interval = 1;
}; };
}; };
@ -704,7 +704,7 @@ in
#custom-macchiato, #custom-macchiato,
#custom-metar, #custom-metar,
#custom-uptime, #custom-uptime,
#temperature { #custom-temperature {
color: #${FG}; color: #${FG};
background: #${BG}; background: #${BG};
border: ${BORDER_WIDTH}px solid #${ACCENT}; border: ${BORDER_WIDTH}px solid #${ACCENT};