meta: Drop /share/backgrounds pathsToLink

Not needed since we can just reference the background directly instead.

Note that the linking actually occurs in the modules for the DEs that
add backgrounds since it isn't part of the defaults.
This commit is contained in:
Donovan Glover 2024-04-07 11:53:47 -04:00
parent bd1be6e67e
commit fa82103e6c
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 2 additions and 5 deletions

View File

@ -7,6 +7,7 @@ let
super = "SUPER";
hycov = callPackage ../packages/hycov.nix { };
osu-backgrounds = callPackage ../packages/osu-backgrounds.nix { };
raiseVolumeScript = "hypr/raise-volume.fish";
lowerVolumeScript = "hypr/lower-volume.fish";
@ -355,7 +356,7 @@ in
#!/usr/bin/env fish
for monitor in (hyprctl monitors -j | jq -r '.[].name')
~/.config/${setBackgroundScript} "$monitor" "$(random choice $(fd . /run/current-system/sw/share/backgrounds/Spring2024FanartSubmissions --follow -e jpg -e png))"
~/.config/${setBackgroundScript} "$monitor" "$(random choice $(fd . ${osu-backgrounds}/2024-03-30-Spring-2024-Fanart-Contest-All-Entries --follow -e jpg -e png))"
end
'';
};

View File

@ -211,10 +211,6 @@ in
enableExcludeWrapper = false;
};
environment.pathsToLink = [
"/share/backgrounds"
];
environment.systemPackages = with pkgs; [
(pass.withExtensions (ext: with ext; [ pass-otp ]))
];