WIP: rice

This commit is contained in:
Filippo Berto 2024-10-21 12:27:32 +02:00
parent f842c92339
commit 1096479c4a
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056
14 changed files with 81 additions and 32 deletions

View file

@ -0,0 +1,38 @@
{ lib
, stdenv
, fetchFromGitHub
, fira-mono
, wallpaper ? null
,
}:
with lib;
stdenv.mkDerivation {
pname = "sddm-theme-clairvoyance";
version = "20190530";
src = fetchFromGitHub {
owner = "eayus";
repo = "sddm-theme-clairvoyance";
rev = "dfc5984ff8f4a0049190da8c6173ba5667904487";
sha256 = "sha256-AcVQpG6wPkMtAudqyu/iwZ4N6a2bCdfumCmdqE1E548=";
};
buildInputs = [ fira-mono ];
installPhase =
''
mkdir -p $out/usr/share/sddm/themes/
cp -a . $out/usr/share/sddm/themes/clairvoyance
''
+ optionalString (wallpaper != null) ''
cp ${wallpaper} $out/usr/share/sddm/themes/clairvoyance/Assets/Background.jpg
'';
meta = with lib; {
description = "Clairvoyance theme for SDDM";
homepage = "https://github.com/eayus/sddm-theme-clairvoyance";
license = licenses.gpl3Plus;
maintainers = [ maintainers.bertof ];
platforms = platforms.all;
};
}