From 45d8b9726f82fd2a52d4400d67dc29a95053078e Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Sat, 24 Aug 2024 11:06:22 -0400 Subject: [PATCH] sway: no rounded corners on gtk CSDs --- homeManagerModules/theme.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/homeManagerModules/theme.nix b/homeManagerModules/theme.nix index 7d0b92eb..14781d21 100644 --- a/homeManagerModules/theme.nix +++ b/homeManagerModules/theme.nix @@ -46,25 +46,26 @@ in { /* No (default) title bar on wayland */ headerbar.default-decoration { /* 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-top: -100px; - - padding: 0; - border: 0; min-height: 0; - font-size: 0; - box-shadow: none; + padding: 0; } .titlebar, .titlebar .background { - border-radius: 0; + border-radius: 0; } /* rm -rf window shadows */ window.csd, /* gtk4? */ window.csd decoration { /* gtk3 */ + border-radius: 0; box-shadow: none; } ''