Sif: fix wabar temperature
This commit is contained in:
parent
20ffa62f4a
commit
dfc1438f6e
1 changed files with 4 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
|||
{ pkgs, nixosConfig, ... }:
|
||||
with nixosConfig.nix-rice.lib;
|
||||
let
|
||||
inherit (nixosConfig.networking) hostName;
|
||||
inherit (nixosConfig.nix-rice.rice) colorPalette font;
|
||||
alpha = 0.9;
|
||||
custom = palette.toRGBHex {
|
||||
|
|
@ -112,7 +113,9 @@ in
|
|||
"critical-threshold" = 90;
|
||||
"format" = "{temperatureC}°C {icon}";
|
||||
"format-icons" = [ "" ];
|
||||
};
|
||||
} // (if hostName == "sif" then {
|
||||
"hwmon-path" = "/sys/class/hwmon/hwmon7/temp1_input";
|
||||
} else { });
|
||||
"backlight" = {
|
||||
# "device"= "acpi_video1";
|
||||
"format" = "{percent}% {icon}";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue