1
0
Fork 0

some awesome tweaks

This commit is contained in:
Von Random 2016-08-10 12:56:36 +03:00
parent ff087baf3c
commit a460fc72cb

3
rc.lua
View file

@ -329,10 +329,10 @@ for s = 1, screen.count() do
right_layout:add(mytextbox_bg) right_layout:add(mytextbox_bg)
right_layout:add(mytaglist[s]) right_layout:add(mytaglist[s])
right_layout:add(wibox.widget.systray()) right_layout:add(wibox.widget.systray())
right_layout:add(mytextclock)
else else
right_layout:add(mytaglist[s]) right_layout:add(mytaglist[s])
end end
right_layout:add(mytextclock)
right_layout:add(mylayoutbox[s]) right_layout:add(mylayoutbox[s])
elseif s == 2 then elseif s == 2 then
left_layout:add(mylayoutbox[s]) left_layout:add(mylayoutbox[s])
@ -764,6 +764,7 @@ client.connect_signal(
-- this shit runs every time you restart your wm, dumbass. -- this shit runs every time you restart your wm, dumbass.
---- set keyboard layouts ---- 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('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 ---- populate xrdb with .Xresources config
if exists('/home/von/.Xresources') then if exists('/home/von/.Xresources') then
awful.util.spawn_with_shell('xrdb /home/von/.Xresources') awful.util.spawn_with_shell('xrdb /home/von/.Xresources')