-- Select device
local device = ""
if utils.host == "chronos" then device = "alsa_output.pci-0000_00_1b.0.analog-stereo" end
-if utils.host == "shada" then device = "alsa_output.pci-0000_00_14.2.analog-stereo" end
+if utils.host == "hactar" then device = "alsa_output.pci-0000_00_14.2.analog-stereo" end
-- Register widget
vicious.register(volwidget, vicious.contrib.pulse, "$1", 1, device)
-- Mouse bindings
-volwidget:buttons(awful.util.table.join( awful.button({ }, 1, function () utils.run_or_kill("kmix") end),
+volwidget:buttons(gears.table.join( awful.button({ }, 1, function () utils.run_or_kill("kmix") end),
awful.button({ }, 2,
function ()
vicious.contrib.pulse.toggle(device)