diff --git a/lib/volume.lua b/lib/volume.lua index c293fac..15849f0 100644 --- a/lib/volume.lua +++ b/lib/volume.lua @@ -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 diff --git a/rc/widgets.lua b/rc/widgets.lua index bcc8fbb..69a8633 100644 --- a/rc/widgets.lua +++ b/rc/widgets.lua @@ -185,7 +185,7 @@ volicon.image = image(beautiful.icons .. "/widgets/vol.png") local volwidget = widget({ type = "textbox" }) vicious.register(volwidget, vicious.widgets.volume, '$2 $1%', - 17, "Master") + 17, "Master") volume = loadrc("volume", "vbe/volume") volwidget:buttons(awful.util.table.join( awful.button({ }, 1, volume.mixer),