X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/8f948b52ebd1ce35a20bf43708444a2bc01ad673..d070b7bd356a3e797adf17443269904e379387ca:/widget/pulseaudio.lua?ds=inline diff --git a/widget/pulseaudio.lua b/widget/pulseaudio.lua index ed37cb5..a1071bc 100644 --- a/widget/pulseaudio.lua +++ b/widget/pulseaudio.lua @@ -1,9 +1,8 @@ - --[[ - - Licensed under GNU General Public License v2 - * (c) 2016, Luke Bonham - + + Licensed under GNU General Public License v2 + * (c) 2016, Luke Bonham + --]] local helpers = require("lain.helpers") @@ -22,7 +21,7 @@ local function factory(args) local timeout = args.timeout or 5 local settings = args.settings or function() end local scallback = args.scallback - + pulseaudio.device = "N/A" pulseaudio.devicetype = args.devicetype or "sink" pulseaudio.cmd = args.cmd or "pacmd list-" .. pulseaudio.devicetype .. "s | sed -n -e '0,/*/d' -e '/base volume/d' -e '/volume:/p' -e '/muted:/p' -e '/device\\.string/p'"