🖌️ Catppuccin on GTK apps

This commit is contained in:
Martin Berg Alstad 2025-01-11 12:46:23 +01:00
parent d192efdf0f
commit 99c1d855ab
Signed by: martials
GPG Key ID: A3824877B269F2E2
5 changed files with 39 additions and 14 deletions

34
flake.lock generated
View File

@ -116,9 +116,7 @@
"catppuccin-v1_2": "catppuccin-v1_2",
"home-manager": "home-manager",
"home-manager-stable": "home-manager-stable",
"nixpkgs": [
"nixpkgs"
],
"nixpkgs": "nixpkgs",
"nixpkgs-stable": "nixpkgs-stable",
"nuscht-search": "nuscht-search"
},
@ -666,16 +664,16 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1736200483,
"narHash": "sha256-JO+lFN2HsCwSLMUWXHeOad6QUxOuwe9UOAF/iSl1J4I=",
"owner": "nixos",
"lastModified": 1736344531,
"narHash": "sha256-8YVQ9ZbSfuUk2bUf2KRj60NRraLPKPS0Q4QFTbc+c2c=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "3f0a8ac25fb674611b98089ca3a5dd6480175751",
"rev": "bffc22eb12172e6db3c5dde9e3e5628f8e3e7912",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-24.11",
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
@ -712,6 +710,22 @@
"type": "github"
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1736200483,
"narHash": "sha256-JO+lFN2HsCwSLMUWXHeOad6QUxOuwe9UOAF/iSl1J4I=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "3f0a8ac25fb674611b98089ca3a5dd6480175751",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-24.11",
"repo": "nixpkgs",
"type": "github"
}
},
"nixvim": {
"inputs": {
"devshell": "devshell",
@ -791,7 +805,7 @@
"catppuccin": "catppuccin",
"home-manager": "home-manager_2",
"hyprpanel": "hyprpanel",
"nixpkgs": "nixpkgs",
"nixpkgs": "nixpkgs_2",
"nixpkgs-unstable": "nixpkgs-unstable",
"nixvim": "nixvim",
"spicetify-nix": "spicetify-nix",

View File

@ -7,7 +7,6 @@
catppuccin = {
url = "github:catppuccin/nix";
inputs.nixpkgs.follows = "nixpkgs";
};
home-manager = {
url = "github:nix-community/home-manager/release-24.11";

View File

@ -16,6 +16,7 @@ in
./default-applications.nix
./fish.nix
./git.nix
./gtk.nix
./mpv.nix
./nixvim
./rofi
@ -25,8 +26,6 @@ in
./yazi
];
# Home Manager needs a bit of information about you and the
# paths it should manage.
home = {
username = username;
homeDirectory = dir.home;

13
home-manager/gtk.nix Normal file
View File

@ -0,0 +1,13 @@
let
theme = import ../theme.nix;
in
{
gtk.enable = true;
catppuccin.gtk = {
enable = true;
flavor = theme.flavor;
icon.enable = true;
};
stylix.targets.gtk.enable = false;
}

View File

@ -6,7 +6,7 @@
];
environment.systemPackages = with pkgs; [
adw-gtk3
# adw-gtk3
glib
adwaita-icon-theme
gnomeExtensions.appindicator