From 988000655bd73ebce0d2313cab3303021991523e Mon Sep 17 00:00:00 2001 From: Andrea Ciceri Date: Wed, 15 Jan 2025 14:20:31 +0100 Subject: [PATCH] Use Catppuccin GTK theme and use a more idiomatic poiner configuration --- hmModules/hyprland/default.nix | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/hmModules/hyprland/default.nix b/hmModules/hyprland/default.nix index 2596638..4688a57 100644 --- a/hmModules/hyprland/default.nix +++ b/hmModules/hyprland/default.nix @@ -1,6 +1,7 @@ { config, pkgs, + lib, ... }: let @@ -54,7 +55,14 @@ in gtk = { enable = true; - # font.name = lib.mkForce "Sans,Symbols Nerd Font"; + theme = { + name = "Catppuccin-GTK-Purple-Dark-Compact"; + package = pkgs.magnetic-catppuccin-gtk.override { + accent = [ "purple" ]; + shade = "dark"; + size = "compact"; + }; + }; iconTheme = { name = "Adwaita"; package = pkgs.adwaita-icon-theme; @@ -66,15 +74,15 @@ in }; }; - qt = { - enable = true; - }; - home.file.".icons/catppuccin-mocha-sapphire" = { source = "${pkgs.catppuccin-cursors.mochaSapphire}/share/icons/catppuccin-mocha-sapphire-cursors"; recursive = true; }; + qt = { + enable = true; + }; + wayland.windowManager.hyprland = { enable = true; plugins = with pkgs.hyprlandPlugins; [