volume: scale volume text with DPI

This commit is contained in:
Vincent Bernat 2018-08-16 18:46:55 +02:00
parent 39e515bab6
commit 1907e37928
2 changed files with 2 additions and 2 deletions

View file

@ -34,7 +34,7 @@ local function change(what)
volid = naughty.notify({ text = string.format("%3d %%", vol),
icon = icon,
font = "Free Sans Bold 24",
font = "Free Sans Bold " .. 24*theme.scale,
replaces_id = volid }).id
end