dust: change wallpaper
This commit is contained in:
parent
10051bd92e
commit
ae6ab3ca6e
3 changed files with 2 additions and 26 deletions
|
@ -9,7 +9,7 @@
|
|||
daemonize = true;
|
||||
show-failed-attempts = true;
|
||||
show-keyboard-layout = true;
|
||||
image = toString inputs.self.legacyPackages.${pkgs.stdenv.hostPlatform.system}.background.dark;
|
||||
image = toString inputs.self.legacyPackages.${pkgs.stdenv.hostPlatform.system}.background;
|
||||
scaling = "fill";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -1,24 +0,0 @@
|
|||
{
|
||||
fetchurl,
|
||||
imagemagick,
|
||||
runCommandLocal,
|
||||
}:
|
||||
runCommandLocal "49983419_p0.jpg" {
|
||||
nativeBuildInputs = [imagemagick];
|
||||
|
||||
# https://www.pixiv.net/en/artworks/49983419
|
||||
image = fetchurl {
|
||||
url = "https://i.pximg.net/img-original/img/2015/04/23/12/43/35/49983419_p0.jpg";
|
||||
hash = "sha256-JZ5VmsjVjZfHXpx3JxzAyYzZppZmgH38AiAA+B0TDiw=";
|
||||
curlOptsList = ["-e" "https://www.pixiv.net/"];
|
||||
};
|
||||
|
||||
outputs = ["out" "dark"];
|
||||
} ''
|
||||
magick $image -crop 3500x1600+0+100 $out
|
||||
magick $image \
|
||||
-crop 3500x1600+0+100 \
|
||||
-blur 8x8 \
|
||||
-brightness-contrast -10,0 \
|
||||
$dark
|
||||
''
|
|
@ -6,7 +6,7 @@ in {
|
|||
# https://github.com/NixOS/nixpkgs/pull/308720
|
||||
pixivfe = callPackage ./pixivfe.nix {};
|
||||
|
||||
background = callPackage ./background.nix {};
|
||||
background = pkgs.nixos-artwork.wallpapers.nineish-dark-gray.src;
|
||||
|
||||
scripts = lib.makeScope pkgs.newScope (self: let
|
||||
inherit (self) callPackage;
|
||||
|
|
Loading…
Reference in a new issue