feat(everforest): move to everforest

This commit is contained in:
Artur Manuel 2025-02-22 21:16:46 +00:00
commit 38774cc02d
Signed by: amadaluzia
SSH key fingerprint: SHA256:Zwg7gBuZyaG48ucAZneJwltiXu0+tJb7c3lYt9AYlLg
11 changed files with 287 additions and 2959 deletions

View file

@ -1,24 +1,45 @@
{pkgs, ...}: let
{
pkgs,
config,
...
}: let
themes = {
gtk-theme = pkgs.colloid-gtk-theme.override {
themeVariants = ["purple"];
tweaks = ["nord"];
};
icon-theme = pkgs.colloid-icon-theme-git.override {
schemeVariants = ["nord"];
colorVariants = ["purple"];
};
# gtk-theme = pkgs.everforest-gtk-theme;
gtk-theme = pkgs.everforest-gtk-theme.overrideAttrs (finalAttrs: {
version = "0-unstable-2024-11-06";
src = pkgs.fetchFromGitHub {
owner = "Fausto-Korpsvart";
repo = finalAttrs.pname;
rev = "43cbe4f1aeba8b46e41836de4c8ea7ac398db119";
hash = "sha256-Z46i0Ihpzo4LhFvzKsvnzcHFzeYxJMvQmg2k6lmjGH0=";
};
nativeBuildInputs =
(finalAttrs.nativeBuildInputs or [])
++ [
pkgs.sassc
];
installPhase = ''
runHook preInstall
mkdir -p "$out"/share/{icons,themes}
cp -a icons/* "$out"/share/icons/
patchShebangs ./themes/install.sh
./themes/install.sh -d "$out"/share/themes/
runHook postInstall
'';
});
icon-theme = themes.gtk-theme;
cursor-theme = pkgs.simp1e-cursors;
};
cfg = config.alqueva.system.dconf;
in {
alqueva.system.dconf = {
enable = true;
luminosity = "dark";
theme = "Colloid-Purple-Dark-Nord";
icon.theme = "Colloid-Purple-Nord-Dark";
theme = "everforest-gtk-theme-0-unstable-2024-11-06-Dark";
icon.theme = "Everforest-Dark";
cursor = {
size = 24;
theme = "Simp1e-Nord-Dark";
theme = "Simp1e-Gruvbox-Dark";
};
};
@ -30,6 +51,6 @@ in {
environment.systemPackages = builtins.attrValues themes;
systemd.user.tmpfiles.rules = [
"L+ %h/.config/gtk-4.0 - - - - ${themes.gtk-theme}/share/themes/Colloid-Purple-Dark-Nord/gtk-4.0"
"L+ %h/.config/gtk-4.0 - - - - ${themes.gtk-theme}/share/themes/${cfg.theme}/gtk-4.0"
];
}