waybar split in files
This commit is contained in:
15
homeConfigs/global/wayland/waybar/temperature.nix
Normal file
15
homeConfigs/global/wayland/waybar/temperature.nix
Normal file
@ -0,0 +1,15 @@
|
||||
{ lib, ... }:
|
||||
{
|
||||
programs.waybar.settings.mainBar = {
|
||||
temperature = {
|
||||
thermal-zone = lib.mkDefault 0;
|
||||
critical-threshold = lib.mkDefault 85;
|
||||
warning-threshold = lib.mkDefault 60;
|
||||
interval = 5;
|
||||
format = "";
|
||||
format-warning ="{icon} {temperatureC}°C";
|
||||
format-critical ="{icon} {temperatureC}°C";
|
||||
format-icons = ["" "" "" "" ""];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user