about summary refs log tree commit diff
path: root/users
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-02-09 19:22:35 -0800
committerFranck Cuny <franck@fcuny.net>2022-02-09 19:22:35 -0800
commit7e39abaf46df83982416cea8403929b0865d4e23 (patch)
tree4b17f49c2eb085bff199463f7fddafd37defe888 /users
parentalacritty: more settings (diff)
downloadworld-7e39abaf46df83982416cea8403929b0865d4e23.tar.gz
desktop: configure GTK
Diffstat (limited to 'users')
-rw-r--r--users/fcuny/desktop.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/users/fcuny/desktop.nix b/users/fcuny/desktop.nix
index 8201215..5151e2e 100644
--- a/users/fcuny/desktop.nix
+++ b/users/fcuny/desktop.nix
@@ -16,6 +16,36 @@
     videos = "\$HOME/media/videos";
   };
 
+  gtk = {
+    enable = true;
+
+    theme.name = "Adwaita";
+
+    iconTheme = {
+      name = "Adwaita";
+      package = pkgs.gnome3.adwaita-icon-theme;
+    };
+
+    gtk2 = {
+      extraConfig = ''
+        gtk-application-prefer-dark-theme = true
+        gtk-xft-antialias = 1
+        gtk-xft-hinting = 1
+        gtk-xft-hintstyle = "hintslight"
+        gtk-cursor-theme-size = cursorSize
+      '';
+    };
+
+    gtk3 = {
+      extraConfig = {
+        gtk-application-prefer-dark-theme = true;
+        gtk-xft-antialias = 1;
+        gtk-xft-hinting = 1;
+        gtk-xft-hintstyle = "hintslight";
+      };
+    };
+  };
+
   imports = [
     ./common.nix
     ./i3.nix