From: Luke Bonham Date: Sun, 17 Jan 2016 10:49:10 +0000 (+0100) Subject: new widget: pulseaudio #157 #164 X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/a4d4d7a5f364d9f1150dcb78be5ec1e1f66e5b95?hp=--cc new widget: pulseaudio #157 #164 --- a4d4d7a5f364d9f1150dcb78be5ec1e1f66e5b95 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