From 53b4f1c94b7619931ea92fe5f7d2693fde3757c9 Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Tue, 13 Feb 2024 12:24:25 +0800 Subject: [PATCH] home/wm: add GTK_CSD=0 --- home/applications/common/wm.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/home/applications/common/wm.nix b/home/applications/common/wm.nix index c294800..58da7e2 100644 --- a/home/applications/common/wm.nix +++ b/home/applications/common/wm.nix @@ -8,4 +8,9 @@ "button-layout" = "icon,appmenu:"; # remove csd window buttons }; }; + + home.sessionVariables = { + # https://github.com/localsend/localsend/blob/2457acd8a7412723b174672d174e4853dccd7d99/app/linux/my_application.cc#L45 + GTK_CSD = 0; + }; }