Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to disable CSD in Wayland? #514

Open
geekthought opened this issue Nov 27, 2023 · 1 comment
Open

How to disable CSD in Wayland? #514

geekthought opened this issue Nov 27, 2023 · 1 comment

Comments

@geekthought
Copy link

geekthought commented Nov 27, 2023

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:

#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 geekthought changed the title Bright shadow with dark them Bright shadow with dark theme Nov 27, 2023
@actionless actionless changed the title Bright shadow with dark theme CSD in Wayland Jan 4, 2024
@actionless
Copy link
Member

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

@actionless actionless changed the title CSD in Wayland How to disable CSD in Wayland? Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants