about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-05-06 10:51:02 -0700
committerFranck Cuny <franck@fcuny.net>2023-05-06 10:51:02 -0700
commit572cb86a416a2b5011102120bf91fb394f5e8f42 (patch)
tree323decb3da1744b8d5e006bacfd46e7e43650086
parentprofiles/laptop: set correct governor for tlp (diff)
downloadworld-572cb86a416a2b5011102120bf91fb394f5e8f42.tar.gz
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
```
-rw-r--r--home/profiles/gtk.nix8
1 files changed, 2 insertions, 6 deletions
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;
     };
   };