sddm-theme-utah: update to Plasma 6

This commit is contained in:
FliegendeWurst 2024-06-05 14:04:39 +02:00
parent 41e943d82a
commit 07261b8e03

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, plasma-workspace }:
{ lib, stdenv, fetchurl, kdePackages }:
stdenv.mkDerivation {
pname = "sddm-theme-utah";
version = "1.0";
@ -7,7 +7,7 @@ stdenv.mkDerivation {
dontUnpack = true;
installPhase = ''
mkdir -p $out/share/sddm/themes/
cp -aR ${plasma-workspace}/share/sddm/themes/breeze $out/share/sddm/themes/sddm-theme-custom
cp -aR ${kdePackages.plasma-workspace}/share/sddm/themes/breeze $out/share/sddm/themes/sddm-theme-custom
chmod +w $out/share/sddm/themes/sddm-theme-custom $out/share/sddm/themes/sddm-theme-custom/theme.conf
cp -aR $src $out/share/sddm/themes/sddm-theme-custom/background.png
sed -i 's/background=.*/background=background.png/g' $out/share/sddm/themes/sddm-theme-custom/theme.conf