From c79c8d2eab9c4fd9ea1ce12561beb909eb4ad2c2 Mon Sep 17 00:00:00 2001 From: RealStickman Date: Mon, 1 May 2023 15:54:45 +0200 Subject: [PATCH] Add gtk4 configuration --- nixos-config/config/gtk-4.0/settings.ini | 16 ++++++++++++++++ nixos-config/configuration.nix | 1 + 2 files changed, 17 insertions(+) create mode 100644 nixos-config/config/gtk-4.0/settings.ini diff --git a/nixos-config/config/gtk-4.0/settings.ini b/nixos-config/config/gtk-4.0/settings.ini new file mode 100644 index 00000000..6e343fa3 --- /dev/null +++ b/nixos-config/config/gtk-4.0/settings.ini @@ -0,0 +1,16 @@ +[Settings] +gtk-theme-name=Sweet-Dark +#gtk-icon-theme-name=Sweet-Rainbow +gtk-font-name=Fira Sans 12 +gtk-cursor-theme-name=capitaine-cursors-light +gtk-cursor-theme-size=0 +gtk-toolbar-style=GTK_TOOLBAR_ICONS +gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR +gtk-button-images=1 +gtk-menu-images=1 +gtk-enable-event-sounds=0 +gtk-enable-input-feedback-sounds=0 +gtk-xft-antialias=1 +gtk-xft-hinting=1 +gtk-xft-hintstyle=hintslight +gtk-xft-rgba=rgb diff --git a/nixos-config/configuration.nix b/nixos-config/configuration.nix index 559f7fe0..cad2e1f0 100644 --- a/nixos-config/configuration.nix +++ b/nixos-config/configuration.nix @@ -47,6 +47,7 @@ in # src: https://unix.stackexchange.com/questions/632879/how-to-set-a-system-wide-gtk-theme-in-nixos "gtk-2.0/gtkrc".source = ./config/gtk-2.0/gtkrc; "gtk-3.0/settings.ini".source = ./config/gtk-3.0/settings.ini; + "gtk-4.0/settings.ini".source = ./config/gtk-4.0/settings.ini; }; };