From 2489bf5e4ccdb2c2572c7660ed5cc1ddbd738959 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Patout?= Date: Mon, 22 Jan 2024 12:10:48 +0000 Subject: [PATCH] fix: extraconfig is already inside [Settings] With the current config I get something like: ``` [Settings] Settings=gtk-application-prefer-dark-theme=1 ``` This change should fix it and produce: ``` [Settings] gtk-application-prefer-dark-theme=1 ``` in ~/.config/gtk-4.0/settings.ini --- config/home/gtk-qt.nix | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/config/home/gtk-qt.nix b/config/home/gtk-qt.nix index fa9e9ff..5049d52 100644 --- a/config/home/gtk-qt.nix +++ b/config/home/gtk-qt.nix @@ -31,14 +31,10 @@ package = pkgs.bibata-cursors; }; gtk3.extraConfig = { - Settings = '' - gtk-application-prefer-dark-theme=1 - ''; + gtk-application-prefer-dark-theme=1; }; gtk4.extraConfig = { - Settings = '' - gtk-application-prefer-dark-theme=1 - ''; + gtk-application-prefer-dark-theme=1; }; };