widget: remove label for volume widget, the symbol should be sufficient

This commit is contained in:
Vincent Bernat 2012-07-07 09:19:55 +02:00
parent f6b4a19dbb
commit 5a4473d370

View file

@ -40,8 +40,7 @@ vicious.register(memwidget, vicious.widgets.mem,
-- Volume level -- Volume level
local volwidget = widget({ type = "textbox" }) local volwidget = widget({ type = "textbox" })
vicious.register(volwidget, vicious.widgets.volume, vicious.register(volwidget, vicious.widgets.volume,
'<span font="Terminus 8" color="' .. beautiful.fg_widget_label .. '">Vol: </span>' .. '<span font="Terminus 8" color="' .. beautiful.fg_widget_value .. '">$2 $1%</span>',
'<span font="Terminus 8" color="' .. beautiful.fg_widget_value .. '">$2 $1%</span>',
2, "Master") 2, "Master")
volwidget:buttons(awful.util.table.join( volwidget:buttons(awful.util.table.join(
awful.button({ }, 1, function () awful.util.spawn("pavucontrol", false) end), awful.button({ }, 1, function () awful.util.spawn("pavucontrol", false) end),