awesomewm/binds/system/input.lua

30 lines
538 B
Lua

return gears.table.join(
awful.key( {"Mod4"}, "space",
function()
desktop.popup.language.next()
end,
{
description = "Change input language",
group = "System"
}
),
awful.key( {"Mod4", "Shift", "Control"}, "9",
function()
desktop.popup.language.set(2)
end,
{
description = "Set input language to RU",
group = "System"
}
),
awful.key( {"Mod4", "Shift", "Control"}, "0",
function()
desktop.popup.language.set(1)
end,
{
description = "Set input language to EN",
group = "System"
}
)
)