diff --git a/home-manager/wallpaper.nix b/home-manager/wallpaper.nix index 820cb1e..1c765ca 100644 --- a/home-manager/wallpaper.nix +++ b/home-manager/wallpaper.nix @@ -5,16 +5,16 @@ let pkg = (import (pkgs.fetchFromGitHub { owner = "Noratrieb"; - repo = "colouncher"; - rev = "bee16cced1e03419f31534d2811233f7aadd0043"; - hash = "sha256-Aoyc2kk1xO4wfdi5+NT7Mhei2rvzaxP3Y9WifWqRN18="; + repo = "wallpapersc"; + rev = "1943eec7c55a6ac9e9b143493d90f9870b31f23a"; + hash = "sha256-AI2tnRz/NVyn+LyljMSUbxanqHzpduV2ex3yvbX/GR0="; })) { inherit pkgs; }; in { - systemd.user.services.colouncher = { + systemd.user.services.wallpapersc = { Unit = { - Description = "Color-based program-launching wallpaper for Wayland"; + Description = "wallpaper daemon"; PartOf = [ config.wayland.systemd.target ]; @@ -22,9 +22,8 @@ in ConditionEnvironment = "WAYLAND_DISPLAY"; }; Service = { - ExecStart = pkgs.lib.getExe pkg; + ExecStart = "${pkg}/bin/wallpapersc"; Restart = "on-failure"; - Type = "notify"; }; Install.WantedBy = [