简体   繁体   English

awesomeWM:透明wibar?

[英]awesomeWM: transparent wibar?

I use awesomewm and have a small conky configuration on top of my wallpaper with transparent background.我使用 awesomewm 并在我的墙纸顶部有一个小的 conky 配置,带有透明背景。 Now i have the idea to change the behaviour of awesomewm to let this small area untouched.现在我有了改变awesomewm 行为的想法,让这个小区域不受影响。 So when maximising a window (client?) or when arranging them, this small area must be completely free.因此,在最大化窗口(客户端?)或安排它们时,这个小区域必须完全空闲。 I tried to add a second wibar on the right side, changed the width and made it transparent.我尝试在右侧添加第二个 wibar,更改宽度并使其透明。 But all i got was a transparent sidebar which shows the background but not the informations comming from conky.但我得到的只是一个透明的侧边栏,它显示了背景而不是来自 conky 的信息。

Is it possible to stack two transparent components over the wallpaper?是否可以在墙纸上堆叠两个透明组件? which configuration whould be the best?哪种配置最好? Is there a better way to reach my goal?有没有更好的方法来达到我的目标?

I use Manjaro with awesomewm.我将 Manjaro 与 awesomewm 一起使用。 I can post configs if needed.如果需要,我可以发布配置。

Thanks, Andreas谢谢,安德烈亚斯

If you want "true transparency", you need to run a composite manager like xcompmgr , compiz or compton/picom .如果您想要“真正的透明度”,您需要运行一个复合管理器,如xcompmgrcompizcompton/picom These are just random examples and all links point to the arch wiki.这些只是随机示例,所有链接都指向 arch wiki。 On Xorg#Composite , it also lists unagi as a possibility, but the wiki does not have a page for it.Xorg#Composite 上,它还列出了 unagi 的可能性,但 wiki 没有相关页面。

Without a composite manager, "fake transparency" is used.如果没有复合管理器,则会使用“假透明度”。 Transparency is simulated by taking the wallpaper and drawing that as the background of the wibox.透明度是通过将墙纸作为wibox 的背景进行绘制来模拟的。 From your description, it sounds like this is what you are seeing.从你的描述来看,这听起来像是你所看到的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM