anchor.diff:        inactive-opacity = ${cfg.inactiveOpacity};
   
         wintypes:
  -      {
  -        popup_menu = { opacity = ${cfg.menuOpacity}; }
  -        dropdown_menu = { opacity = ${cfg.menuOpacity}; }
  -      };
  +      ${literalAttrs cfg.wintypes};
   
         opacity-rule = [
           ${opacityRules}
  
positive.code:         let
            res = x != "none";
            msg = "The type of services.compton.vSync has changed to bool:"
                  + " interpreting ${x} as ${lib.boolToString res}";
          in
            if isBool x then x
            else warn msg res;
  
negative.code: 
        # other options
        backend = ${toJSON cfg.backend};
        vsync = ${boolToString cfg.vSync};
        refresh-rate = ${toString cfg.refreshRate};
      '' + cfg.extraOptions);
  
  