mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 08:14:00 +01:00
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:
parent
bd1be6e67e
commit
fa82103e6c
@ -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
|
||||
'';
|
||||
};
|
||||
|
@ -211,10 +211,6 @@ in
|
||||
enableExcludeWrapper = false;
|
||||
};
|
||||
|
||||
environment.pathsToLink = [
|
||||
"/share/backgrounds"
|
||||
];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
(pass.withExtensions (ext: with ext; [ pass-otp ]))
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user