2024-01-03 15:29:21 +08:00
|
|
|
{ pkgs
|
|
|
|
, lib
|
|
|
|
, config
|
2024-06-24 09:56:31 +08:00
|
|
|
, ... }: with lib; let
|
|
|
|
catppuccin = config.passthrough.catppuccin.enable;
|
|
|
|
in {
|
2024-02-12 17:40:58 +08:00
|
|
|
config = mkIf config.passthrough.gui {
|
|
|
|
# cursor theme
|
2024-06-24 09:56:31 +08:00
|
|
|
home.pointerCursor = {
|
|
|
|
package = mkDefault pkgs.bibata-cursors;
|
|
|
|
name = mkDefault "Bibata-Modern-Classic";
|
2024-02-12 17:40:58 +08:00
|
|
|
size = 24;
|
2024-06-24 09:56:31 +08:00
|
|
|
x11.enable = true;
|
|
|
|
gtk.enable = true;
|
2024-02-12 17:40:58 +08:00
|
|
|
};
|
2024-01-03 16:38:30 +08:00
|
|
|
|
2024-02-12 17:40:58 +08:00
|
|
|
# gtk theme
|
2024-05-13 08:38:38 +08:00
|
|
|
gtk.theme = mkDefault {
|
|
|
|
package = pkgs.whitesur-gtk-theme;
|
|
|
|
name = "WhiteSur-Dark";
|
2024-02-12 17:40:58 +08:00
|
|
|
};
|
2024-01-03 16:38:30 +08:00
|
|
|
|
2024-02-12 17:40:58 +08:00
|
|
|
# gtk icons
|
2024-05-13 08:38:38 +08:00
|
|
|
gtk.iconTheme = mkDefault {
|
|
|
|
package = pkgs.papirus-icon-theme;
|
|
|
|
name = "Papirus-Dark";
|
2024-02-12 17:40:58 +08:00
|
|
|
};
|
2024-01-07 14:47:25 +08:00
|
|
|
|
2024-02-12 17:40:58 +08:00
|
|
|
# unify qt theme
|
2024-04-19 08:15:03 +08:00
|
|
|
qt.platformTheme.name = mkDefault "gtk";
|
2024-02-12 17:40:58 +08:00
|
|
|
|
|
|
|
gtk.enable = mkDefault true;
|
|
|
|
qt.enable = mkDefault true;
|
|
|
|
};
|
2024-01-03 15:29:21 +08:00
|
|
|
}
|