История изменений
Исправление Medar, (текущая версия) :
client.connect_signal("focus", function(c) c.border_color = beautiful.border_focus
-- c.opacity = 1
if awful.rules.match(c, {class = "URxvt"}) then os.execute("~/.bin/layoutswitch 0")
end
end)
client.connect_signal("unfocus", function(c) c.border_color = beautiful.border_normal
-- c.opacity = 0.9
end)
Примерно так.
Исходная версия Medar, :
client.connect_signal("focus", function(c) c.border_color = beautiful.border_focus
-- c.opacity = 1
if awful.rules.match(c, {class = "URxvt"}) then os.execute("~/.bin/layoutswitch 0")
end
end)
client.connect_signal("unfocus", function(c) c.border_color = beautiful.border_normal
-- c.opacity = 0.9
end)