about summary refs log tree commit diff
path: root/platforms/linux/gtk.nix
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-09-26 11:07:33 +0200
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-09-26 11:07:33 +0200
commit43f903a3334d0bfd50e9cfa64dd5d95faa739d0d (patch)
tree09b90d6f24eec6c7d1376d08028d5a81a1036fb7 /platforms/linux/gtk.nix
parent9bc4874f0aff1ebc58b28879ee21df44e3a01fc7 (diff)
downloaddots-43f903a3334d0bfd50e9cfa64dd5d95faa739d0d.tar.gz
dots-43f903a3334d0bfd50e9cfa64dd5d95faa739d0d.zip
Add more basic config
Diffstat (limited to 'platforms/linux/gtk.nix')
-rw-r--r--platforms/linux/gtk.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/platforms/linux/gtk.nix b/platforms/linux/gtk.nix
new file mode 100644
index 0000000..c16725b
--- /dev/null
+++ b/platforms/linux/gtk.nix
@@ -0,0 +1,28 @@
+pkgs:
+{
+  home.packages = with pkgs; [
+    capitaine-cursors
+    papirus-icon-theme
+    hicolor-icon-theme
+  ];
+
+  gtk = {
+    enable = true;
+    theme.name = "gruvbox-dark-hard";
+    iconTheme.name = "Papirus";
+    font.name = "Noto Sans 10";
+    gtk3.extraConfig = {
+      gtk-cursor-theme-name = "capitaine-cursors";
+      gtk-application-prefer-dark-theme=true;
+    };
+    gtk3.extraCss = ''
+    window decoration {
+    margin: 0;
+    border: none;
+    }
+    '';
+    gtk2.extraConfig = ''
+      gtk-cursor-theme-name="capitaine-cursors"
+    '';
+  };
+}