From: Samir Benmendil Date: Thu, 31 Jul 2014 09:17:12 +0000 (+0100) Subject: awesome/widgets: use custom pulse device X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/1a7470c06c2fecfb90acb6d0b129cb403e77dd26 awesome/widgets: use custom pulse device --- diff --git a/awesome/widgets/volume_widget.lua b/awesome/widgets/volume_widget.lua index 162ceaf..957236e 100644 --- a/awesome/widgets/volume_widget.lua +++ b/awesome/widgets/volume_widget.lua @@ -8,7 +8,7 @@ local volwidget = { } -- 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, '🔊 '.."$1", 1, device)