Skip to content
Permalink
Browse files

nixos-artwork: make wallpapers available to KDE

  • Loading branch information
peterhoeg committed Dec 13, 2018
1 parent ad3e919 commit 1572e1f72290abb63e2a175d9c5091754bf5c0d7
Showing with 9 additions and 0 deletions.
  1. +9 −0 pkgs/data/misc/nixos-artwork/wallpapers.nix
@@ -11,6 +11,15 @@ let
installPhase = ''
mkdir -p $out/share/artwork/gnome
ln -s $src $out/share/artwork/gnome/${src.name}
# KDE
mkdir -p $out/share/wallpapers/${name}/contents/images
ln -s $src $out/share/wallpapers/${name}/contents/images/${src.name}
cat >>$out/share/wallpapers/${name}/metadata.desktop <<_EOF
[Desktop Entry]
Name=${name}
X-KDE-PluginInfo-Name=${name}
_EOF
'';

meta = with stdenv.lib; {

0 comments on commit 1572e1f

Please sign in to comment.
You can’t perform that action at this time.