From a1342e39eabe37646caa63905d68d21b246c4a9a Mon Sep 17 00:00:00 2001 From: Von Random Date: Sat, 24 Jan 2015 17:38:22 +0300 Subject: [PATCH] workaround should be applied before setxbmap, duh --- rc.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rc.lua b/rc.lua index 92848b9..072f11d 100644 --- a/rc.lua +++ b/rc.lua @@ -662,10 +662,10 @@ client.connect_signal('unfocus', function(c) c.border_color = beautiful.border_n -- {{{ Autostart -- don't forget you sync this file -- this shit runs every time you restart your wm, dumbass. ----- set keyboard layouts -awful.util.spawn_with_shell('setxkbmap -layout us,ru -variant altgr-intl,typewriter -option ctrl:nocaps,grp:win_space_toggle,compose:menu,grp_led:scroll') ---- apply the workaround to make mouse work outside en-us keyboard layout awful.util.spawn_with_shell('xkbcomp $DISPLAY - | egrep -v "group . = AltGr;" | xkbcomp - $DISPLAY') +---- set keyboard layouts +awful.util.spawn_with_shell('setxkbmap -layout us,ru -variant altgr-intl,typewriter -option ctrl:nocaps,grp:win_space_toggle,compose:menu,grp_led:scroll') ---- populate xrdb with .Xresources config awful.util.spawn_with_shell('xrdb /home/von/.Xresources') ---- execute all the other shit, installation specific