Change in packages name for neovim Base16 plugin
This commit is contained in:
parent
4f6de7a255
commit
6b28554969
4 changed files with 24 additions and 3 deletions
|
@ -49,7 +49,7 @@ in
|
|||
'';
|
||||
}
|
||||
{
|
||||
plugin = nvim-base16;
|
||||
plugin = base16-nvim;
|
||||
type = "lua";
|
||||
config = ''
|
||||
vim.cmd.colorscheme 'base16-default-dark'
|
||||
|
|
|
@ -22,6 +22,12 @@ in
|
|||
|
||||
cpuThermal = {
|
||||
|
||||
thermalZone = mkOption {
|
||||
type = types.str;
|
||||
default = "";
|
||||
description = "CPU thermal hwmon thermal Zone";
|
||||
};
|
||||
|
||||
hwmonPathAbs = mkOption {
|
||||
type = types.str;
|
||||
default = "";
|
||||
|
|
|
@ -121,8 +121,12 @@ in
|
|||
"temperature" = {
|
||||
"critical-threshold" = 80;
|
||||
"format" = "{temperatureC}°C ";
|
||||
"hwmon-path-abs" = "${cfg.waybar.cpuThermal.hwmonPathAbs}";
|
||||
"input-filename" = "${cfg.waybar.cpuThermal.inputFilename}";
|
||||
"thermal-zone" = mkIf ( cfg.waybar.cpuThermal.thermalZone != "" )
|
||||
"${cfg.waybar.cpuThermal.thermalZone}";
|
||||
"hwmon-path-abs" = mkIf ( cfg.waybar.cpuThermal.hwmonPathAbs != "" )
|
||||
"${cfg.waybar.cpuThermal.hwmonPathAbs}";
|
||||
"input-filename" = mkIf ( cfg.waybar.cpuThermal.inputFilename != "" )
|
||||
"${cfg.waybar.cpuThermal.inputFilename}";
|
||||
};
|
||||
"temperature#gpu" = {
|
||||
"critical-threshold" = 80;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue