From 572cb86a416a2b5011102120bf91fb394f5e8f42 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 6 May 2023 10:51:02 -0700 Subject: profiles/gtk: configure dark mode properly Without this I was seeing the following error: ``` Unknown key Settings in /home/fcuny/.config/gtk-3.0/settings.ini ``` And the configuration contained: ``` [Settings] Settings=gtk-application-prefer-dark-theme=1 ``` --- home/profiles/gtk.nix | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'home/profiles') diff --git a/home/profiles/gtk.nix b/home/profiles/gtk.nix index a3fff9d..e1615b8 100644 --- a/home/profiles/gtk.nix +++ b/home/profiles/gtk.nix @@ -19,15 +19,11 @@ }; gtk3.extraConfig = { - Settings = '' - gtk-application-prefer-dark-theme=1 - ''; + gtk-application-prefer-dark-theme = true; }; gtk4.extraConfig = { - Settings = '' - gtk-application-prefer-dark-theme=1 - ''; + gtk-application-prefer-dark-theme = true; }; }; -- cgit 1.4.1