- Fix hardcoded user path in webapps.nix (use homeDirectory) - Normalize wallpapers option to use .enable suffix - Remove duplicate FZF keybind declaration - Update comments to match actual implementation
20 lines
474 B
Nix
20 lines
474 B
Nix
# Wallpaper collection — copies wallpapers to Hyprland config directory.
|
|
{
|
|
config,
|
|
lib,
|
|
...
|
|
}:
|
|
with lib; let
|
|
cfg = config.desktop.theme.wallpapers.enable;
|
|
in {
|
|
options.desktop.theme.wallpapers.enable = mkEnableOption "wallpapers for Hyprland";
|
|
|
|
config = mkIf cfg {
|
|
xdg.configFile."hypr/wallpapers" = {
|
|
# Wallpapers are stored relative to the home/m3tam3re directory.
|
|
source = ../../../m3tam3re/wallpapers;
|
|
recursive = true;
|
|
};
|
|
};
|
|
}
|