-- 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 == "shada" then device = "surround31" end
-- Register widget
volwidget = wibox.widget.textbox()
vicious.register(volwidget, vicious.contrib.pulse, '<span font="Symbola 12">🔊</span> '.."$1", 1, device)