From d0f730261078a34376b8ce8b7c59329730752bcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jalil=20David=20Salam=C3=A9=20Messina?= Date: Sat, 1 Mar 2025 21:12:22 +0100 Subject: [PATCH] fix(sway): titlebars showing Now that I set `stateVersion>=23.05`. --- home/gui/sway-config.nix | 38 +++++++++++++++++++++----------------- 1 file changed, 21 insertions(+), 17 deletions(-) diff --git a/home/gui/sway-config.nix b/home/gui/sway-config.nix index 993ae6c..e20e8aa 100644 --- a/home/gui/sway-config.nix +++ b/home/gui/sway-config.nix @@ -23,7 +23,8 @@ let datadir = "${schema}/share/gsettings-schemas/${schema.name}"; in pkgs.writers.writeDashBin "configure-gtk" '' - export XDG_DATA_DIRS=${datadir}:$XDG_DATA_DIRS + export XDG_DATA_DIRS="${datadir}:$XDG_DATA_DIRS" + gnome_schema=org.gnome.desktop.interface config="${config.xdg.configHome}/gtk-3.0/settings.ini" if [ ! -f "$config" ]; then exit 1; fi @@ -56,22 +57,25 @@ in }; output."*".bg = "${cfg.background} fill"; # Window Appearance - window.border = 2; - # Make certain windows floating - window.commands = [ - { - command = "floating enable"; - criteria.title = "zoom"; - } - { - command = "floating enable"; - criteria.class = "floating"; - } - { - command = "floating enable"; - criteria.app_id = "floating"; - } - ]; + window = { + border = 2; + titlebar = false; + # Make certain windows floating + commands = [ + { + command = "floating enable"; + criteria.title = "zoom"; + } + { + command = "floating enable"; + criteria.class = "floating"; + } + { + command = "floating enable"; + criteria.app_id = "floating"; + } + ]; + }; # Startup scripts startup = [