This works, and also lets you make any other aesthetic changes you want to Macaroon's buttons in the same place:
MacaroonCustom.toc
Code:
## Interface: 40200
## Dependencies: Macaroon
MacaroonCustom.lua
MacaroonCustom.lua
Code:
local Macaroon_SkinBar = Macaroon.SkinBar
Macaroon.SkinBar = function(bar, parent)
Macaroon_SkinBar(bar, parent)
if bar.config.buttonList then
for _, btnIDList in pairs(bar.config.buttonList) do
for btnID in btnIDList:gmatch("[^;]+") do
local button = _G[bar.btnType .. btnID]
if button then
button.hotkey:SetFont("Interface\\AddOns\\Stuf\\media\\font1.ttf", 8, "OUTLINE, MONOCHROME")
-- you can also change button.count and/or button.macroname
end
end
end
end
end
As a side note, font (or other file) paths begin with just "Interface", not "\\Interface".