From 37b8a8800045e5829a3f5cfe333515318cea582c Mon Sep 17 00:00:00 2001 From: Sijmen Date: Mon, 8 Aug 2022 02:11:34 +0200 Subject: [PATCH] add gtk config to home-manager --- common/home-manager.nix | 51 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/common/home-manager.nix b/common/home-manager.nix index fa75fd4..bc245fb 100644 --- a/common/home-manager.nix +++ b/common/home-manager.nix @@ -83,6 +83,57 @@ }; }; + gtk = { + enable = true; + + gtk2.extraConfig = '' + gtk-enable-animations=1 + gtk-primary-button-warps-slider=0 + gtk-toolbar-style=3 + gtk-menu-images=1 + gtk-button-images=1 + gtk-cursor-theme-size=24 + gtk-cursor-theme-name="breeze_cursors" + gtk-icon-theme-name="breeze" + gtk-font-name="Noto Sans, 10" + ''; + + gtk3.bookmarks = [ + "file:///home/sijmen/Sync" + "smb://10.100.0.1/docs/ NAS" + "smb://10.100.0.1/docs/users/sijmen sijmen" + "smb://10.100.0.1/docs/media Media" + "sftp://sijmens@virtuscin.scintilla.utwente.nl/data Scintilla Drive" + "sftp://sijmens@virtuscin.scintilla.utwente.nl/data/commissies/spock/SPOCK7 SPOCK7" + ]; + + gtk3.extraConfig = { + gtk-application-prefer-dark-theme = "false"; + gtk-button-images = "true"; + gtk-cursor-theme-name = "breeze_cursors"; + gtk-cursor-theme-size = "24"; + gtk-decoration-layout = "icon:minimize,maximize,close"; + gtk-enable-animations = "true"; + gtk-font-name = "Noto Sans, 10"; + gtk-icon-theme-name = "breeze"; + gtk-menu-images = "true"; + gtk-modules = "colorreload-gtk-module"; + gtk-primary-button-warps-slider = "false"; + gtk-toolbar-style = "3"; + }; + + gtk4.extraConfig = { + gtk-application-prefer-dark-theme = "false"; + gtk-cursor-theme-name = "breeze_cursors"; + gtk-cursor-theme-size = 24; + gtk-decoration-layout = "icon:minimize,maximize,close"; + gtk-enable-animations = "true"; + gtk-font-name = "Noto Sans, 10"; + gtk-icon-theme-name = "breeze"; + gtk-primary-button-warps-slider = "false"; + }; + }; + programs.git = { enable = true; lfs.enable = true;