summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
Diffstat (limited to 'home')
-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 = {