about summary refs log tree commit diff stats
path: root/home-manger/gtk
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-02-07 17:09:19 +0100
committerene <ene@sils.li>2023-02-07 17:09:19 +0100
commit25a2fbea87a4f0c870afc2a408afae3415d43d6f (patch)
tree8974c2794103ccc3f5a9be2bb662311a3af84c45 /home-manger/gtk
parentFeat(home-manger): Add grades config support (diff)
downloadnixos-config-25a2fbea87a4f0c870afc2a408afae3415d43d6f.tar.gz
nixos-config-25a2fbea87a4f0c870afc2a408afae3415d43d6f.zip
Feat(home-manager): Add gtk configurations
Diffstat (limited to 'home-manger/gtk')
-rw-r--r--home-manger/gtk/default.nix58
1 files changed, 58 insertions, 0 deletions
diff --git a/home-manger/gtk/default.nix b/home-manger/gtk/default.nix
new file mode 100644
index 00000000..d72986d5
--- /dev/null
+++ b/home-manger/gtk/default.nix
@@ -0,0 +1,58 @@
+{
+  config,
+  pkgs,
+  ...
+}: {
+  home-manager.gkt = {
+    enable = true;
+    theme = {
+      package = pkgs.nordic;
+      name = "Nordic";
+    };
+    cursorTheme = {
+      package = pkgs.nordzy-cursor-theme;
+      name = "Nordzy-cursors";
+    };
+    iconTheme = {
+      package = pkgs.nordzy-icon-theme;
+      name = "Nordzy-icon";
+    };
+    font = {
+      name = "Noto Sans";
+      size = 10;
+    };
+    gtk2 = {
+      configLocation = "${config.xdg.configHome}/gtk-2.0/gtkrc";
+      #      extraConfig = ''
+      #        gtk-enable-animations=1
+      #        gtk-primary-button-warps-slider=0
+      #        gtk-toolbar-style=3
+      #        gtk-menu-images=1
+      #        gtk-button-images=1
+      #
+      #      '';
+    };
+    gtk3 = {
+      # extraConfig = ''
+      #        gtk-button-images=true
+      #        gtk-decoration-layout=icon:minimize,maximize,close
+      #        gtk-enable-animations=true
+      #        gtk-menu-images=true
+      #        gtk-primary-button-warps-slider=false
+      #        gtk-toolbar-style=3
+      #        #gtk-modules=window-decorations-gtk-module:colorreload-gtk-module
+      #      '';
+      extraCss = "";
+    };
+    gtk4 = {
+      #      extraConfig = ''
+      #        gtk-application-prefer-dark-theme=true
+      #        gtk-decoration-layout=icon:minimize,maximize,close
+      #        gtk-enable-animations=true
+      #        gtk-primary-button-warps-slider=false
+      #      '';
+    };
+  };
+}
+# vim: ts=2
+