mirror of
https://github.com/swaywm/sway.git
synced 2024-11-21 23:41:27 +00:00
remove rounded corners and dropshadow that can be annoying
parent
9f0d7a97cb
commit
d1b9288cab
|
@ -57,6 +57,30 @@ Importing the gtk, icon, and cursor themes:
|
|||
exec_always import-gsettings
|
||||
```
|
||||
|
||||
|
||||
### Removing the rounded corners and dropshadow of themes like Adwaita
|
||||
|
||||
If you use 1 pixel border the theme's shadow can leak underneath, also sway's border can only be without border radius so to remove any of these issues make a file at `${XDG_CONFIG_HOME}/gtk-3.0/gtk.css` put following selectors there.
|
||||
|
||||
```
|
||||
/** Some apps use titlebar class and some window */
|
||||
.titlebar,
|
||||
window {
|
||||
border-radius: 0;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
/** also remove shaddows */
|
||||
decoration {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
decoration:backdrop {
|
||||
box-shadow: none;
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
## XSettings
|
||||
|
||||
Some GTK applications running via XWayland, and some Java applications, need an XSettings daemon running in order to pick up the themes and font settings.
|
||||
|
|
Loading…
Reference in a new issue