无法摆脱 Awesome WM 中的边框

发布于 2025-01-20 10:22:25 字数 224 浏览 0 评论 0 原文

我正在尝试以透明度制作任务列表弹出窗口,但我遇到了边界问题。找不到一种方法来删除弹出窗口周围的黑条。

我尝试了border_width = 0 and them.border_width = 0,但它不起作用。

弹出图像

I'm trying to make a task list popup with transparency, but I ran into a problem with the borders. Can't find a way to remove the black bars around the popup.

I tried border_width = 0 and theme.border_width = 0 but it just doesn't work.

Popup image

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

优雅的叶子 2025-01-27 10:22:25

多亏了@Uli,我设法删除了弹出窗口的边界(阴影)。

问题在于,Picom Compositor在弹出窗口周围创建阴影。

使小部件类型=“桌面”使PICOM忽略它。

在Windows上启用了客户端阴影。笔记台式机窗口
(Windows带有'_net_wm_window_type_desktop'的Windows,
除非使用Wintypes选项明确要求。

Thanks to @Uli I managed to remove the borders (shadows) of the popup.

The problem was that the picom compositor was creating shadows around the popup.

Making the widget type = "desktop" makes picom ignore it.

github.com/yshui/picom/blob/...

Enabled client-side shadows on windows. Note desktop windows
(windows with '_NET_WM_WINDOW_TYPE_DESKTOP') never get shadow,
unless explicitly requested using the wintypes option.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文