mirror of https://github.com/lcpz/lain.git
Merge branch 'master' of https://github.com/copycat-killer/lain
This commit is contained in:
commit
25e2f9a60e
|
@ -22,11 +22,13 @@ local function worker (args)
|
||||||
|
|
||||||
local layouts = args.layouts
|
local layouts = args.layouts
|
||||||
local settings = args.settings or function () end
|
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 timeout = args.timeout or 5
|
||||||
|
|
||||||
local idx = 1
|
local idx = 1
|
||||||
|
|
||||||
|
if args.add_us_secondary == false then add_us_secondary = false end
|
||||||
|
|
||||||
-- Mouse bindings
|
-- Mouse bindings
|
||||||
kbdlayout.widget:buttons(awful.util.table.join(
|
kbdlayout.widget:buttons(awful.util.table.join(
|
||||||
awful.button({ }, 1, function () kbdlayout.next() end),
|
awful.button({ }, 1, function () kbdlayout.next() end),
|
||||||
|
|
Loading…
Reference in New Issue