【发布时间】:2015-06-08 16:40:02
【问题描述】:
if (c.class == "Google-chrome") then
c.icon = capi.image ( "/home/art-attack/.config/awesome/icons/chrome.png" )
end
我试过了,但总是出错,即尝试调用字段“图像”(一个零值)
{ rule = { class = "Google-chrome" },
properties = { icon = beautiful.icon_chrome } },
然后我找到了另一种方法来使用可怕的规则中的属性 icon 并且它有效但没有更改图标而是禁用了该客户端的图标。
【问题讨论】:
标签: lua awesome-wm