mirror of https://github.com/lcpz/lain.git
Fixed indentation in pulseaudio widget code (3->4 spaces)
This commit is contained in:
parent
3da60ff492
commit
6350d0e040
|
@ -15,9 +15,9 @@ local string = { gmatch = string.gmatch,
|
||||||
-- PulseAudio volume
|
-- PulseAudio volume
|
||||||
-- lain.widgets.pulseaudio
|
-- lain.widgets.pulseaudio
|
||||||
|
|
||||||
|
|
||||||
local function factory(args)
|
local function factory(args)
|
||||||
local pulseaudio = {}
|
local pulseaudio = {}
|
||||||
|
|
||||||
local args = args or {}
|
local args = args or {}
|
||||||
local devicetype = args.devicetype or "sink"
|
local devicetype = args.devicetype or "sink"
|
||||||
local timeout = args.timeout or 5
|
local timeout = args.timeout or 5
|
||||||
|
@ -57,6 +57,7 @@ local function factory(args)
|
||||||
volume_now.right = volume_now.channel[2] or "N/A"
|
volume_now.right = volume_now.channel[2] or "N/A"
|
||||||
|
|
||||||
widget = pulseaudio.widget
|
widget = pulseaudio.widget
|
||||||
|
|
||||||
settings()
|
settings()
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue