feat(gui): add catppuccin gtk and cursor themes

This commit is contained in:
514fpv 2024-02-12 17:40:58 +08:00
parent b54d9e00af
commit a4096481a0
Signed by: koishi
SSH key fingerprint: SHA256:axz0uIzzY+5W19i7QOUuiw5LSqhKfCBKPf3L4xFRxLw
5 changed files with 115 additions and 45 deletions

View file

@ -0,0 +1,13 @@
{ pkgs
, lib
, config
, ... }: with lib; let
cfg = config.passthrough.catppuccin;
in mkIf cfg.enable {
# cursor theme
home.pointerCursor = { inherit (cfg.cursor) package name; };
gtk.cursorTheme = { inherit (cfg.cursor) package name; };
# gtk theme
gtk.theme = { inherit (cfg.gtk) package name; };
}