From d5935e8b0474d584e1f8317a5ddcbde5e4eab921 Mon Sep 17 00:00:00 2001 From: vincent Date: Wed, 7 Nov 2018 19:09:46 +0100 Subject: [PATCH] add switch keyboard to awesome --- awesome/.config/awesome/autorun.sh | 1 + awesome/.config/awesome/rc.lua | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/awesome/.config/awesome/autorun.sh b/awesome/.config/awesome/autorun.sh index 897e286..2997d53 100755 --- a/awesome/.config/awesome/autorun.sh +++ b/awesome/.config/awesome/autorun.sh @@ -9,3 +9,4 @@ function run { run /usr/lib/polkit-kde-authentication-agent-1 run ~/script/autoxrandr +run setxkbmap -layout "fr,us" diff --git a/awesome/.config/awesome/rc.lua b/awesome/.config/awesome/rc.lua index f32fcd4..6dd895f 100644 --- a/awesome/.config/awesome/rc.lua +++ b/awesome/.config/awesome/rc.lua @@ -243,7 +243,7 @@ globalkeys = gears.table.join( {description = "view next", group = "tag"}), awful.key({ modkey, }, "Escape", awful.tag.history.restore, {description = "go back", group = "tag"}), - + awful.key({ "Shift" }, "Alt_L", function() mykeyboardlayout.next_layout(); end), awful.key({ modkey, }, "j", function () awful.client.focus.byidx( 1)