new widget: pulseaudio #157 #164

This commit is contained in:
Luke Bonham 2016-01-17 11:49:10 +01:00
parent d8944fd10b
commit a4d4d7a5f3
3 changed files with 7 additions and 3 deletions

View File

@ -16,6 +16,9 @@ local string = { match = string.match }
local setmetatable = setmetatable
-- Keyboard layout switcher
-- lain.widgets.contrib.kblayout
local function worker (args)
local kbdlayout = {}
kbdlayout.widget = wibox.widget.textbox('')
@ -24,9 +27,8 @@ local function worker (args)
local settings = args.settings or function () end
local add_us_secondary = true
local timeout = args.timeout or 5
local idx = 1
if args.add_us_secondary == false then add_us_secondary = false end
-- Mouse bindings

View File

@ -21,6 +21,8 @@ local string = { format = string.format,
local setmetatable = setmetatable
-- MOC audio player
-- lain.widgets.contrib.moc
local moc = {}
local function worker(args)

2
wiki

@ -1 +1 @@
Subproject commit cefdc887c46f0f7c5d837d1449927e7dbf66b19e
Subproject commit cb5d5455987533d08c37fd17fec7dfa757b7130a