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, ... }:
|
{ pkgs, nixosConfig, ... }:
|
||||||
with nixosConfig.nix-rice.lib;
|
with nixosConfig.nix-rice.lib;
|
||||||
let
|
let
|
||||||
|
inherit (nixosConfig.networking) hostName;
|
||||||
inherit (nixosConfig.nix-rice.rice) colorPalette font;
|
inherit (nixosConfig.nix-rice.rice) colorPalette font;
|
||||||
alpha = 0.9;
|
alpha = 0.9;
|
||||||
custom = palette.toRGBHex {
|
custom = palette.toRGBHex {
|
||||||
|
|
@ -112,7 +113,9 @@ in
|
||||||
"critical-threshold" = 90;
|
"critical-threshold" = 90;
|
||||||
"format" = "{temperatureC}°C {icon}";
|
"format" = "{temperatureC}°C {icon}";
|
||||||
"format-icons" = [ "" ];
|
"format-icons" = [ "" ];
|
||||||
};
|
} // (if hostName == "sif" then {
|
||||||
|
"hwmon-path" = "/sys/class/hwmon/hwmon7/temp1_input";
|
||||||
|
} else { });
|
||||||
"backlight" = {
|
"backlight" = {
|
||||||
# "device"= "acpi_video1";
|
# "device"= "acpi_video1";
|
||||||
"format" = "{percent}% {icon}";
|
"format" = "{percent}% {icon}";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue