add switch keyboard to awesome

This commit is contained in:
vincent 2018-11-07 19:09:46 +01:00
parent 9c7f94021d
commit d5935e8b04
2 changed files with 2 additions and 1 deletions

View File

@ -9,3 +9,4 @@ function run {
run /usr/lib/polkit-kde-authentication-agent-1 run /usr/lib/polkit-kde-authentication-agent-1
run ~/script/autoxrandr run ~/script/autoxrandr
run setxkbmap -layout "fr,us"

View File

@ -243,7 +243,7 @@ globalkeys = gears.table.join(
{description = "view next", group = "tag"}), {description = "view next", group = "tag"}),
awful.key({ modkey, }, "Escape", awful.tag.history.restore, awful.key({ modkey, }, "Escape", awful.tag.history.restore,
{description = "go back", group = "tag"}), {description = "go back", group = "tag"}),
awful.key({ "Shift" }, "Alt_L", function() mykeyboardlayout.next_layout(); end),
awful.key({ modkey, }, "j", awful.key({ modkey, }, "j",
function () function ()
awful.client.focus.byidx( 1) awful.client.focus.byidx( 1)