[general] add missing shell theme config to gnome

Signed-off-by: Jo <johannesreckers2006@gmail.com>
This commit is contained in:
Jo 2024-05-29 14:00:31 +02:00
parent fbba93c16a
commit ae474de92e
5 changed files with 19 additions and 32 deletions

View file

@ -68,22 +68,6 @@
"type": "github"
}
},
"nixpkgs-catppuccin": {
"locked": {
"lastModified": 1716835396,
"narHash": "sha256-H2dN5tooIaHqbU52ldreAhbxE33fxASflPqvMsoQFQc=",
"owner": "isabelroses",
"repo": "nixpkgs",
"rev": "a554569da3b72f2896aa26537a4339ac45a15f66",
"type": "github"
},
"original": {
"owner": "isabelroses",
"ref": "update-catppuccin",
"repo": "nixpkgs",
"type": "github"
}
},
"plasma-manager": {
"inputs": {
"home-manager": [
@ -113,7 +97,6 @@
"hardware": "hardware",
"home-manager": "home-manager",
"nixpkgs": "nixpkgs",
"nixpkgs-catppuccin": "nixpkgs-catppuccin",
"plasma-manager": "plasma-manager"
}
}

View file

@ -21,11 +21,9 @@
hardware.url = "github:NixOS/nixos-hardware/master";
catppuccin.url = "github:catppuccin/nix";
nixpkgs-catppuccin.url = "github:isabelroses/nixpkgs/update-catppuccin";
};
outputs = { self, nixpkgs, home-manager, plasma-manager, hardware, catppuccin, nixpkgs-catppuccin, ... } @inputs:
outputs = { self, nixpkgs, home-manager, plasma-manager, hardware, catppuccin, ... } @inputs:
let
inherit (self) outputs;

View file

@ -12,6 +12,6 @@
catppuccin = {
enable = true;
accent = "blue";
flavor = "macchiato";
flavor = "frappe";
};
}

View file

@ -7,6 +7,18 @@
}: {
gtk = {
enable = true;
catppuccin.enable = true;
};
dconf.settings = {
# ---------------------- Theming
"org/gnome/desktop/background" = {
picture-uri = "${outputs.resources.wallpapers}/animals_at_campfire.jpg";
picture-uri-dark = "${outputs.resources.wallpapers}/animals_at_campfire.jpg";
};
"org/gnome/shell/extensions/user-theme" = {
name = "Catppuccin-Frappe-Standard-Blue-Dark";
};
# ---------------------- Theming END
};
}

View file

@ -5,6 +5,10 @@
lib,
...
}: {
imports = [
outputs.homeManagerModules.themes.catppuccin.gnome
];
home.packages = with pkgs.gnomeExtensions; [
dash-to-dock
user-themes
@ -13,11 +17,6 @@
unite
];
gtk = {
enable = true;
catppuccin.enable = true;
};
# Use `dconf watch /` to track stateful changes you are doing, then set them here.
dconf.settings = {
"org/gnome/desktop/interface" = {
@ -45,11 +44,6 @@
workspace-names = [ "Main" ];
};
"org/gnome/desktop/background" = {
picture-uri = "${outputs.resources.wallpapers}/animals_at_campfire.jpg";
picture-uri-dark = "${outputs.resources.wallpapers}/animals_at_campfire.jpg";
};
"org/gnome/shell/extensions/unite" = {
use-activities-text = false;
extend-left-box = false;