From a460fc72cbfab5af1ca382996cf49325005ff2bc Mon Sep 17 00:00:00 2001 From: Von Random Date: Wed, 10 Aug 2016 12:56:36 +0300 Subject: [PATCH] some awesome tweaks --- rc.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rc.lua b/rc.lua index 0a7332c..11c02f8 100644 --- a/rc.lua +++ b/rc.lua @@ -329,10 +329,10 @@ for s = 1, screen.count() do right_layout:add(mytextbox_bg) right_layout:add(mytaglist[s]) right_layout:add(wibox.widget.systray()) - right_layout:add(mytextclock) else right_layout:add(mytaglist[s]) end + right_layout:add(mytextclock) right_layout:add(mylayoutbox[s]) elseif s == 2 then left_layout:add(mylayoutbox[s]) @@ -764,6 +764,7 @@ client.connect_signal( -- 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,grp_led:caps,compose:menu') +awful.util.spawn_with_shell('xkbcomp $DISPLAY - | egrep -v "group . = AltGr;" | xkbcomp - $DISPLAY') ---- populate xrdb with .Xresources config if exists('/home/von/.Xresources') then awful.util.spawn_with_shell('xrdb /home/von/.Xresources')