themix-gui icon indicating copy to clipboard operation
themix-gui copied to clipboard

How to disable CSD in Wayland?

Open geekthought opened this issue 1 year ago • 1 comments

I am using the tiling wm Sway on Arch and have shadows on floating windows.

swappy-20231127_203445

This seemed to be the same issue a few years ago:

https://github.com/themix-project/themix-gui/issues/138

I added the tiling hacks to .config/gtk-3/gtk.css. No luck. How can I remove these shadows?

Added to gtk.css: Using with tiling WMs

Create/append to ~/.config/gtk-3.0/gtk.css:

/* remove window title from Client-Side Decorations */ .solid-csd headerbar .title { font-size: 0; }

/* hide extra window decorations/double border */ window decoration { margin: 0; border: none; padding: 0; }

Extra GTK3 CSS hacks

Create/append to ~/.config/gtk-3.0/gtk.css:

  • { text-shadow: none; }

geekthought avatar Nov 27 '23 20:11 geekthought

idk, i don't have wayland setup to test, feel free to update the docs

actionless avatar Jan 04 '24 08:01 actionless