use polygon-art/asteroids for background

This commit is contained in:
Ingolf Wagner 2021-04-15 06:50:16 +02:00
parent cd96155eb0
commit 2da8360ede
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
2 changed files with 6 additions and 7 deletions

View file

@ -24,12 +24,11 @@ rustPlatform.buildRustPackage rec {
[ cmake llvmPackages.clang llvmPackages.libclang pkg-config ];
meta = with stdenv.lib; {
description =
"An image generator unsing entropy and a JSON as configuration.";
homepage = "https://git.ingolf-wagner.de/palo/image-generator2";
license = licenses.gpl3;
description = "Framework with examples to generate plotter friendly SVGs";
homepage = "https://git.ingolf-wagner.de/palo/polygon-art.git";
license = licenses.gpl3Plus;
maintainers = [ maintainers.mrVanDalo ];
platforms = platforms.all;
#platforms = platforms.all;
};
}

View file

@ -19,11 +19,11 @@ let
nixStartRedshift = "${pkgs.redshift}/bin/redshift -O 6100 -g 0.9:0.9:0.9 -b 0.9"
nixResetRedshift = "${pkgs.redshift}/bin/redshift -x"
nixSetCursorImage = "${pkgs.xorg.xsetroot}/bin/xsetroot -cursor_name left_ptr"
nixSetBackground = "${pkgs.image-generator}/bin/image-generator --line-size 2.0 ${background-repo}/e.json --height ${
nixSetBackground = "${pkgs.polygon-art}/bin/asteroids --height ${
toString height
} --width ${
toString width
} --output /dev/shm/background.png && ${pkgs.feh}/bin/feh --bg-scale /dev/shm/background.png"
} /dev/shm/background.png && ${pkgs.feh}/bin/feh --bg-scale /dev/shm/background.png"
nixStartAlbert = "${pkgs.albert}/bin/albert"
nixStartCopyq = "${pkgs.copyq}/bin/copyq"
nixShowCopyq = "${pkgs.copyq}/bin/copyq show"