sway: no rounded corners on gtk CSDs
Some checks are pending
git-mirror / gitlab-sync (push) Waiting to run
nix-build / default-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-build / slateport-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run

This commit is contained in:
Aly Raffauf 2024-08-24 11:06:22 -04:00
parent 72f1b5f9f3
commit 45d8b9726f

View file

@ -46,25 +46,26 @@ in {
/* No (default) title bar on wayland */ /* No (default) title bar on wayland */
headerbar.default-decoration { headerbar.default-decoration {
/* You may need to tweak these values depending on your GTK theme */ /* You may need to tweak these values depending on your GTK theme */
border-radius: 0;
border: 0;
box-shadow: none;
font-size: 0;
margin-bottom: 50px; margin-bottom: 50px;
margin-top: -100px; margin-top: -100px;
padding: 0;
border: 0;
min-height: 0; min-height: 0;
font-size: 0; padding: 0;
box-shadow: none;
} }
.titlebar, .titlebar,
.titlebar .background .titlebar .background
{ {
border-radius: 0; border-radius: 0;
} }
/* rm -rf window shadows */ /* rm -rf window shadows */
window.csd, /* gtk4? */ window.csd, /* gtk4? */
window.csd decoration { /* gtk3 */ window.csd decoration { /* gtk3 */
border-radius: 0;
box-shadow: none; box-shadow: none;
} }
'' ''