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
Signed by: palo
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 ]; [ cmake llvmPackages.clang llvmPackages.libclang pkg-config ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = description = "Framework with examples to generate plotter friendly SVGs";
"An image generator unsing entropy and a JSON as configuration."; homepage = "https://git.ingolf-wagner.de/palo/polygon-art.git";
homepage = "https://git.ingolf-wagner.de/palo/image-generator2"; license = licenses.gpl3Plus;
license = licenses.gpl3;
maintainers = [ maintainers.mrVanDalo ]; 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" nixStartRedshift = "${pkgs.redshift}/bin/redshift -O 6100 -g 0.9:0.9:0.9 -b 0.9"
nixResetRedshift = "${pkgs.redshift}/bin/redshift -x" nixResetRedshift = "${pkgs.redshift}/bin/redshift -x"
nixSetCursorImage = "${pkgs.xorg.xsetroot}/bin/xsetroot -cursor_name left_ptr" 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 toString height
} --width ${ } --width ${
toString 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" nixStartAlbert = "${pkgs.albert}/bin/albert"
nixStartCopyq = "${pkgs.copyq}/bin/copyq" nixStartCopyq = "${pkgs.copyq}/bin/copyq"
nixShowCopyq = "${pkgs.copyq}/bin/copyq show" nixShowCopyq = "${pkgs.copyq}/bin/copyq show"