mirror of
https://github.com/EdenQwQ/nixos.git
synced 2025-12-26 18:34:56 +08:00
wallpaper: add a new wallpaper; adjust blur size and fade time
This commit is contained in:
parent
603b1abbd1
commit
6cb900317d
3 changed files with 8 additions and 2 deletions
|
|
@ -65,7 +65,7 @@ let
|
|||
"--transition-type",
|
||||
"fade",
|
||||
"--transition-duration",
|
||||
"0.5",
|
||||
"0.3",
|
||||
"-o",
|
||||
monitor,
|
||||
wallpaper,
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ let
|
|||
name = "Pictures/Wallpapers/generated/${name}-blurred.jpg";
|
||||
value = {
|
||||
source = pkgs.runCommand "${name}-blurred.jpg" { } ''
|
||||
${pkgs.imagemagick}/bin/magick ${path} -blur 0x20 $out
|
||||
${pkgs.imagemagick}/bin/magick ${path} -blur 0x15 $out
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -59,5 +59,11 @@
|
|||
sha256 = "1chzklk6j893fdxhp0jhjwgwyhg3p6hjrgrrr5fw8gkllx91sx5w";
|
||||
convertMethod = "gonord";
|
||||
}
|
||||
{
|
||||
name = "jw-summer-twilight.jpg";
|
||||
url = "https://i.imgur.com/LozwAp2.jpg";
|
||||
sha256 = "1w2qnsjxvlwm1hsmna83ja4gr88i2qf6kfrx256dfi3vzydh9sky";
|
||||
convertMethod = "gonord";
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue