wallpaper: Add a new wallpaper
This commit is contained in:
parent
dcb0c0d7a5
commit
65c921606e
4 changed files with 38 additions and 8 deletions
|
|
@ -2,11 +2,14 @@
|
|||
srcs,
|
||||
runCommandNoCCLocal,
|
||||
rootPath,
|
||||
}:
|
||||
runCommandNoCCLocal "wallpapers" {} ''
|
||||
mkdir -p $out
|
||||
lib,
|
||||
}: let
|
||||
wallpapers = with lib; srcs |> filterAttrs (name: _value: hasPrefix "wallpaper" name) |> concatMapAttrsStringSep "\n" (name: value: "ln -s ${value.src} $out/${name}");
|
||||
in
|
||||
runCommandNoCCLocal "wallpapers" {} ''
|
||||
mkdir -p $out
|
||||
|
||||
ln -s ${srcs."wallpaper_hieda-no-akyuu-touhou.1920x1080.mp4".src} $out/wallpaper_hieda-no-akyuu-touhou.1920x1080.mp4
|
||||
ln -s ${srcs."wallpaper_outer-wilds.3840x2160.mp4".src} $out/wallpaper_outer-wilds.3840x2160.mp4
|
||||
ln -s ${rootPath + "/assets/wallpaper/01.png"} $out/01.png
|
||||
''
|
||||
${wallpapers}
|
||||
|
||||
ln -s ${rootPath + "/assets/wallpaper/01.png"} $out/01.png
|
||||
''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue