From 21bdc107eb90aa3bdcdb97a349a83de548225f07 Mon Sep 17 00:00:00 2001 From: Sam Date: Sat, 20 Jul 2024 20:22:02 +0100 Subject: [PATCH] Add gtk cursor theme --- .../desktop/common/themes/standard-dark.nix | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/home/common/optional/desktop/common/themes/standard-dark.nix b/home/common/optional/desktop/common/themes/standard-dark.nix index 836493f..0186971 100644 --- a/home/common/optional/desktop/common/themes/standard-dark.nix +++ b/home/common/optional/desktop/common/themes/standard-dark.nix @@ -2,16 +2,22 @@ { # Prevent error when enabling gtk https://github.com/nix-community/home-manager/issues/3113 # error: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files - home.packages = [ pkgs.dconf ]; + home.packages = [ + pkgs.dconf + pkgs.vimix-cursor-theme + ]; gtk.enable = true; - - home.file = { - ".icons/bibata".source = "${pkgs.bibata-cursors}/share/icons/Bibata-Modern-Classic"; - }; + home.file.".icons/default".source = "${pkgs.vimix-cursor-theme}/share/icons/Vimix-Cursors"; # Get details about theme package #cd $(nix build nixpkgs#kanagawa-gtk-theme --print-out-paths --no-link) && nix run nixpkgs#eza -- --tree --level 4 gtk.theme.package = pkgs.kanagawa-gtk-theme; + + gtk.cursorTheme = { + name = "Vimix-Cursors"; + package = pkgs.vimix-cursor-theme; + }; + gtk.theme.name = "Kanagawa-B"; gtk.iconTheme.package = pkgs.kanagawa-icon-theme;