From a4d4d7a5f364d9f1150dcb78be5ec1e1f66e5b95 Mon Sep 17 00:00:00 2001 From: Luke Bonham Date: Sun, 17 Jan 2016 11:49:10 +0100 Subject: [PATCH] new widget: pulseaudio #157 #164 --- widgets/contrib/kbdlayout.lua | 6 ++++-- widgets/contrib/moc.lua | 2 ++ wiki | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/widgets/contrib/kbdlayout.lua b/widgets/contrib/kbdlayout.lua index 39857af..64ea6b3 100644 --- a/widgets/contrib/kbdlayout.lua +++ b/widgets/contrib/kbdlayout.lua @@ -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 diff --git a/widgets/contrib/moc.lua b/widgets/contrib/moc.lua index b818bb6..b79dbe2 100644 --- a/widgets/contrib/moc.lua +++ b/widgets/contrib/moc.lua @@ -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) diff --git a/wiki b/wiki index cefdc88..cb5d545 160000 --- a/wiki +++ b/wiki @@ -1 +1 @@ -Subproject commit cefdc887c46f0f7c5d837d1449927e7dbf66b19e +Subproject commit cb5d5455987533d08c37fd17fec7dfa757b7130a -- 2.39.5