jhasfjdhf

This commit is contained in:
2026-01-26 20:00:56 +00:00
parent a769c11c66
commit 15a78965ab
4 changed files with 92 additions and 13 deletions

View File

@@ -18,6 +18,9 @@
#useSystemVencord = false;
};
config = {
enabledThemes = [
"dank-discord.css"
];
plugins = {
alwaysTrust = {
enable = true;

View File

@@ -15,17 +15,6 @@ let
isDefault = true;
};
reversal-black = pkgs.reversal-icon-theme.overrideAttrs (old: {
installPhase = ''
runHook preInstall
mkdir -p $out/share/icons
# Hardcode the correct upstream invocation for black variant
./install.sh -t black -d $out/share/icons
rm -f $out/share/icons/*/{AUTHORS,COPYING}
jdupes --quiet --link-soft --recurse $out/share
runHook postInstall
'';
});
in
{
imports = [
@@ -225,8 +214,7 @@ in
adw-gtk3
(pkgs.callPackage ../personalPKGS/oreo.nix { colors = [ "all" ]; })
#(pkgs.reversal-icon-theme.override { colorVariants = ["-black"]; })
reversal-black
(pkgs.callPackage ../personalPKGS/reversal-icon-theme.nix { colorVariants = [ "all" ]; })
pywalfox-native
# ─── Experimental (inputs) ───────────────────────────────────────────────────

View File

@@ -0,0 +1,87 @@
{
lib,
stdenvNoCC,
fetchFromGitHub,
gtk3,
jdupes,
adwaita-icon-theme,
hicolor-icon-theme,
numix-icon-theme-circle,
colorVariants ? [ "black" ],
}:
let
pname = "reversal-icon-theme";
in
lib.checkListOfEnum "${pname}: color variants" [
"black"
"blue"
"brown"
"cyan"
"green"
"grey"
"lightblue"
"orange"
"pink"
"purple"
"red"
"all"
] colorVariants
stdenvNoCC.mkDerivation {
inherit pname;
version = "0-unstable-2026-01-26";
src = fetchFromGitHub {
owner = "yeyushengfan258";
repo = "Reversal-icon-theme";
rev = "26b97f00640cd9eaeb8f196eda3a8d298158a08f";
hash = "sha256-ahnp25wTCTrOtJUbAIv7vvVC2am+idEokoRomRe5aKU=";
};
nativeBuildInputs = [
gtk3
jdupes
];
propagatedBuildInputs = [
adwaita-icon-theme
hicolor-icon-theme
numix-icon-theme-circle
];
dontDropIconThemeCache = true;
postPatch = ''
patchShebangs install.sh
'';
installPhase = ''
runHook preInstall
mkdir -p $out/share/icons
./install.sh -d $out/share/icons -t ${toString colorVariants}
# remove file that conflicts with other packages (e.g. gruvbox-dark-icons-gtk)
find $out/share/icons -name 'LICENSE' -delete
jdupes --quiet --link-soft --recurse $out/share
runHook postInstall
'';
dontFixup = true;
passthru.updateScript = lib.maintainers.update-source-version {
src = "https://github.com/yeyushengfan258/${pname}";
versionType = "commit";
};
meta = with lib; {
description = "Colorful Design rectangular icon theme for Linux desktops";
homepage = "https://github.com/yeyushengfan258/Reversal-icon-theme";
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ romildo ];
};
}

1
result Symbolic link
View File

@@ -0,0 +1 @@
/nix/store/0pg8p2nmvi1sw3zqgl1k5p0vqraa0kii-nixos-system-mrfluffyPC-26.05.20260123.c5296fd