From 851410a9d6393ae2c219983292dca93368294e28 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Thu, 6 Jun 2024 14:23:43 +0530 Subject: home/wayland/sway/theme: remove rounded corners and dropshadow --- home/wayland/modules/sway/theme.nix | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'home') diff --git a/home/wayland/modules/sway/theme.nix b/home/wayland/modules/sway/theme.nix index 8722d2e..f2467ee 100644 --- a/home/wayland/modules/sway/theme.nix +++ b/home/wayland/modules/sway/theme.nix @@ -3,7 +3,27 @@ gtk = { enable = true; - gtk3.extraConfig.gtk-application-prefer-dark-theme = 1; + + gtk3 = { + extraConfig.gtk-application-prefer-dark-theme = 1; + # remove rounded corners and dropshadow + # https://github.com/swaywm/sway/wiki/GTK-3-settings-on-Wayland + extraCss = '' + .titlebar, + window { + border-radius: 0; + box-shadow: none; + } + + decoration { + box-shadow: none; + } + + decoration:backdrop { + box-shadow: none; + } + ''; + }; }; home.pointerCursor = { -- cgit v1.2.3