diff --git a/pkgs/polygon-art/default.nix b/pkgs/polygon-art/default.nix index 6b88d2f..093544f 100644 --- a/pkgs/polygon-art/default.nix +++ b/pkgs/polygon-art/default.nix @@ -1,16 +1,17 @@ { rustPlatform, fetchgit, stdenv, cairo, geos, clipper, clang, pkg-config, cmake , openssl, llvmPackages, ... }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage { - name = "polygon-art-${version}"; + pname = "polygon-art"; version = "1.0.0"; + # nix-prefetch-git-rendered --rev refs/heads/develop https://git.ingolf-wagner.de/palo/polygon-art.git src = fetchgit { url = "https://git.ingolf-wagner.de/palo/polygon-art.git"; - rev = "bc571b10a8be3357b517d2c413c0c2111593e4bf"; - sha256 = "0dn3111cy50znxr5hawmkz3lcywxhzjz77jqq88pf1dh03jy2f45"; + rev = "dfb6e0789ec67ee649050ad3b16d8b6a6b38955d"; + sha256 = "0iqmikvl93pazxfd120hcr0waxav7zy6px5kmdqxifrjgdbda9xx"; }; cargoSha256 = "05rkn8iihj4j9k179xx7wn2a07hxks050raj6fbxmj6gdx6aj170"; @@ -28,7 +29,6 @@ rustPlatform.buildRustPackage rec { homepage = "https://git.ingolf-wagner.de/palo/polygon-art.git"; license = licenses.gpl3Plus; maintainers = [ maintainers.mrVanDalo ]; - #platforms = platforms.all; }; } diff --git a/system/desktop/home-manager/xmonad.nix b/system/desktop/home-manager/xmonad.nix index 6ff467d..3d8b793 100644 --- a/system/desktop/home-manager/xmonad.nix +++ b/system/desktop/home-manager/xmonad.nix @@ -19,7 +19,7 @@ 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.polygon-art}/bin/asteroids --height ${ + nixSetBackground = "${pkgs.polygon-art}/bin/rings --height ${ toString height } --width ${ toString width