meta: add at least 24 commits into one
This commit is contained in:
parent
db2564d828
commit
6420ebef60
25 changed files with 363 additions and 579 deletions
|
@ -1,45 +1,23 @@
|
|||
{
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
let
|
||||
themes = {
|
||||
# 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;
|
||||
gtk-theme = pkgs.dracula-theme-git;
|
||||
icon-theme = pkgs.dracula-icon-theme;
|
||||
cursor-theme = themes.icon-theme;
|
||||
};
|
||||
cfg = config.alqueva.system.dconf;
|
||||
in
|
||||
{
|
||||
alqueva.system.dconf = {
|
||||
enable = true;
|
||||
luminosity = "dark";
|
||||
theme = "everforest-gtk-theme-0-unstable-2024-11-06-Dark";
|
||||
icon.theme = "Everforest-Dark";
|
||||
theme = "Dracula";
|
||||
icon.theme = "Dracula";
|
||||
cursor = {
|
||||
size = 24;
|
||||
theme = "Simp1e-Gruvbox-Dark";
|
||||
theme = "Dracula-cursors";
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -50,7 +28,4 @@ in
|
|||
};
|
||||
|
||||
environment.systemPackages = builtins.attrValues themes;
|
||||
systemd.user.tmpfiles.rules = [
|
||||
"L+ %h/.config/gtk-4.0 - - - - ${themes.gtk-theme}/share/themes/${cfg.theme}/gtk-4.0"
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue