mirror of
https://github.com/tuxdotrs/tawm.git
synced 2025-07-06 21:16:35 +05:30
add plymouth
This commit is contained in:
23
pkgs/plymouth-spinner-monochrome/default.nix
Normal file
23
pkgs/plymouth-spinner-monochrome/default.nix
Normal file
@ -0,0 +1,23 @@
|
||||
{
|
||||
stdenv,
|
||||
logo ? null,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
stdenv.mkDerivation {
|
||||
pname = "plymouth-spinner-monochrome";
|
||||
version = "1.0";
|
||||
src = ./src;
|
||||
|
||||
buildPhase = lib.optionalString (logo != null) ''
|
||||
ln -s ${logo} watermark.png
|
||||
'';
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/plymouth/themes
|
||||
cp -rT . $out/share/plymouth/themes/spinner-monochrome
|
||||
'';
|
||||
|
||||
meta = {
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user