summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-06-06 14:23:43 +0530
committersinanmohd <sinan@sinanmohd.com>2024-06-06 14:35:37 +0530
commit851410a9d6393ae2c219983292dca93368294e28 (patch)
tree3bd74e6c9c899235e59c51417c8287f044ec85df
parent8221fdbbb7083612f42c1fa6a7ae03421e793212 (diff)
home/wayland/sway/theme: remove rounded corners and dropshadow
-rw-r--r--home/wayland/modules/sway/theme.nix22
1 files changed, 21 insertions, 1 deletions
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 = {