Merge pull request #144 from stwa/patch-1

allow add_us_secondary to be turned off.
This commit is contained in:
Luke Bonham 2015-09-24 11:50:28 +02:00
commit 5e7c96f4d9

View file

@ -22,10 +22,12 @@ local function worker (args)
local layouts = args.layouts
local settings = args.settings or function () end
local add_us_secondary = args.add_us_secondary or true
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
kbdlayout.widget:buttons(awful.util.table.join(