Change in packages name for neovim Base16 plugin

This commit is contained in:
Yorick Barbanneau 2024-03-05 22:32:15 +01:00
parent 4f6de7a255
commit 6b28554969
4 changed files with 24 additions and 3 deletions

View file

@ -49,7 +49,7 @@ in
'';
}
{
plugin = nvim-base16;
plugin = base16-nvim;
type = "lua";
config = ''
vim.cmd.colorscheme 'base16-default-dark'

View file

@ -22,6 +22,12 @@ in
cpuThermal = {
thermalZone = mkOption {
type = types.str;
default = "";
description = "CPU thermal hwmon thermal Zone";
};
hwmonPathAbs = mkOption {
type = types.str;
default = "";

View file

@ -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;