From cd7484e68ff523f8467b61f65bd5bed994791e68 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Mon, 28 Oct 2024 19:40:12 -0400 Subject: [PATCH] desktop: set proper window controls for libadwaita apps --- homeManagerModules/desktop/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/homeManagerModules/desktop/default.nix b/homeManagerModules/desktop/default.nix index 20b44529..34527630 100644 --- a/homeManagerModules/desktop/default.nix +++ b/homeManagerModules/desktop/default.nix @@ -24,8 +24,10 @@ enable = true; settings = { "org/gnome/desktop/wm/preferences".button-layout = - if (config.ar.home.desktop.gnome.enable || config.ar.home.desktop.kde.enable) + if config.ar.home.desktop.kde.enable then "appmenu:minimize,maximize,close" + else if config.ar.home.desktop.gnome.enable + then "appmenu:close" else ""; "org/gnome/nm-applet".disable-connected-notifications = true;