Better lockscreen automation + sddm theme

This commit is contained in:
Filippo Berto 2022-08-17 21:20:43 +02:00
parent 613673299d
commit 0a07445ebc
10 changed files with 62 additions and 17 deletions

View file

@ -6,6 +6,7 @@ let
self = with pkgs; {
lockscreen = callPackage ./lockscreen { };
update-background = callPackage ./update-background { };
sddm-theme-clairvoyance = callPackage ./sddm-theme-clairvoyance { };
cocktail-bar-cli = callPackage ./cocktail-bar-cli { };
};
in

View file

@ -0,0 +1,30 @@
{ lib, stdenv, fetchFromGitHub, fira-mono }:
stdenv.mkDerivation rec {
pname = "materia-kde-theme";
version = "20190530";
src = fetchFromGitHub {
owner = "eayus";
repo = "sddm-theme-clairvoyance";
rev = "dfc5984ff8f4a0049190da8c6173ba5667904487";
sha256 = "sha256-AcVQpG6wPkMtAudqyu/iwZ4N6a2bCdfumCmdqE1E548=";
};
buildInputs = [ fira-mono ];
# makeFlags = [ "PREFIX=$(out)" ];
installPhase = ''
mkdir -p $out/usr/share/sddm/themes/
cp -a . $out/usr/share/sddm/themes/clairvoyance
'';
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;
};
}