perform some statix linting and fixes

This commit is contained in:
Tanish2002 2023-05-22 15:45:47 +05:30 committed by Gaétan Lepage
parent eee375e97e
commit efdcbe225f
57 changed files with 196 additions and 221 deletions

View file

@ -129,7 +129,7 @@ in {
popup = {
inherit (cfg) blend width;
winhl =
if (!isNull cfg.color)
if (cfg.color != null)
then "SpecsPopColor"
else "PMenu";
delay_ms = cfg.delay;
@ -150,7 +150,7 @@ in {
mkIf cfg.enable {
extraPlugins = [cfg.package];
highlight.SpecsPopColor.bg = mkIf (!isNull cfg.color) cfg.color;
highlight.SpecsPopColor.bg = mkIf (cfg.color != null) cfg.color;
extraConfigLua = ''
require('specs').setup(${setup})