From 28c12949de130771bf9db724d6aa4c9b15b24c11 Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Sun, 22 Sep 2024 14:03:36 +0200 Subject: [PATCH] fix: wallpaper size --- modules/wallpaper.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/wallpaper.nix b/modules/wallpaper.nix index 9cfcc07..c16b3ea 100644 --- a/modules/wallpaper.nix +++ b/modules/wallpaper.nix @@ -1,7 +1,7 @@ { pkgs, lib }: let # Width of our display. - max-width = "1080"; + max-width = "1920"; in pkgs.stdenv.mkDerivation rec{ name = "yoda-wallpaper"; @@ -13,7 +13,7 @@ in installPhase = '' set -eu -o pipefail mkdir -p $out - ${pkgs.imagemagick}/bin/magick $src -resize '${max-width}>' -quality 85% -interlace Plane -strip $out/img.jpg + ${pkgs.imagemagick}/bin/magick $src -resize '${max-width}>' -quality 90% -interlace Plane -strip $out/img.jpg ${pkgs.imagemagick}/bin/magick $src -resize '${max-width}>' $out/img.png ''; }