Better display manager background

This commit is contained in:
Filippo Berto 2022-08-26 08:52:13 +02:00
parent 4d42bdad1c
commit da8583a727
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056
3 changed files with 5 additions and 3 deletions

View file

@ -1,5 +1,5 @@
{ lib, stdenv, fetchFromGitHub, fira-mono }: { lib, stdenv, fetchFromGitHub, fira-mono, wallpaper ? null }:
with lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "materia-kde-theme"; pname = "materia-kde-theme";
version = "20190530"; version = "20190530";
@ -16,6 +16,8 @@ stdenv.mkDerivation rec {
installPhase = '' installPhase = ''
mkdir -p $out/usr/share/sddm/themes/ mkdir -p $out/usr/share/sddm/themes/
cp -a . $out/usr/share/sddm/themes/clairvoyance 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; { meta = with lib; {

View file

@ -37,7 +37,7 @@
(final: _: { (final: _: {
update-background = final.callPackage ./custom/update-background { backgrounds_directory = "$HOME/Immagini/Sfondi/1080+/1440+"; }; update-background = final.callPackage ./custom/update-background { backgrounds_directory = "$HOME/Immagini/Sfondi/1080+/1440+"; };
lockscreen = final.callPackage ./custom/lockscreen { palette = final.rice.colorPalette; font = final.rice.font.normal; }; lockscreen = final.callPackage ./custom/lockscreen { palette = final.rice.colorPalette; font = final.rice.font.normal; };
sddm-theme-clairvoyance = final.callPackage ./custom/sddm-theme-clairvoyance { }; sddm-theme-clairvoyance = final.callPackage ./custom/sddm-theme-clairvoyance { wallpaper = ./wallpapers/comfy_waves.jpg; };
}) })
(_: _: { stable = pkgs; }) (_: _: { stable = pkgs; })
(_: _: { unstable = unstablePkgs; }) (_: _: { unstable = unstablePkgs; })

BIN
wallpapers/comfy_waves.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB