很棒的 wm client.opacity 和 xterm

awesome wm client.opacity and xterm

我已经:

   client.connect_signal("focus", function(c)                                                                                                                             
        c.border_color = beautiful.border_focus                                                                                                                            
        c.opacity=1                                                                                                                                                        
    end)                                                                                                                                                                   
    client.connect_signal("unfocus", function(c)                                                                                                                                                                                                                            
        c.border_color = beautiful.border_normal                                                                                                                           
        c.opacity=0.9                                                                                                                                                      
   end)

我的 lua.rc,但在 xterm 或 firefox 中都没有不透明度变化。它始终设置为 100%(我已经检查了对话框弹出窗口并处理了信号)。我需要做更多的事情来提供不透明的客户端吗? 我正在使用 Lua 5.3

的 Awesome 4.2

您需要 运行 像 xcompmgrcompton 这样的合成管理器才能使 .opacity 生效。