mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2024-11-15 05:13:10 +01:00
added dracula icon theme
This commit is contained in:
parent
c3cd928bc0
commit
068b7e2260
|
@ -47,11 +47,11 @@
|
||||||
"xdph": "xdph"
|
"xdph": "xdph"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1674604320,
|
"lastModified": 1674661101,
|
||||||
"narHash": "sha256-yhSiPmT3fmOaV2dLBNCsGGpN4t2Ucs6Q3dGygBH34sc=",
|
"narHash": "sha256-iFFUngau5KHjsKScLhovpb7kCMjJvw/mXXOj6I62sVM=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "Hyprland",
|
"repo": "Hyprland",
|
||||||
"rev": "12e293e3092b03dbb9d82e7a749f482ef2b7ea6e",
|
"rev": "fc89e70a1fb74429ad0f772d399325f69e65b357",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
31
pkgs/dracula-icon-theme/default.nix
Normal file
31
pkgs/dracula-icon-theme/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
{ lib, stdenv, fetchFromGitHub, gtk-engine-murrine }:
|
||||||
|
|
||||||
|
let
|
||||||
|
themeName = "Dracula";
|
||||||
|
version = "1.0";
|
||||||
|
in
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
pname = "dracula-icon-theme";
|
||||||
|
inherit version;
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "m4thewz";
|
||||||
|
repo = "dracula-icons";
|
||||||
|
rev = "main";
|
||||||
|
sha256 = "GY+XxTM22jyNq8kaB81zNfHRhfXujArFcyzDa8kjxCQ=";
|
||||||
|
};
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
mkdir -p $out/share/icons/${themeName}
|
||||||
|
cp -a * $out/share/icons/${themeName}/
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Dracula Icon theme";
|
||||||
|
homepage = "https://github.com/m4thewz/dracula-icons";
|
||||||
|
platforms = platforms.all;
|
||||||
|
maintainers = with maintainers; [ therealr5 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, lib, ... }:
|
{ config, pkgs, ... }:
|
||||||
{
|
{
|
||||||
# theme hardcoded to dracula, too lazy to make all this base16
|
# theme hardcoded to dracula, too lazy to make all this base16
|
||||||
gtk = {
|
gtk = {
|
||||||
|
@ -7,5 +7,9 @@
|
||||||
name = "Dracula";
|
name = "Dracula";
|
||||||
package = pkgs.dracula-theme;
|
package = pkgs.dracula-theme;
|
||||||
};
|
};
|
||||||
|
iconTheme = {
|
||||||
|
name = "Dracula";
|
||||||
|
package = (pkgs.callPackage ../../../../pkgs/dracula-icon-theme { });
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue