From c6f03484a6883eb04ceb8207528d5bd37ca47e54 Mon Sep 17 00:00:00 2001 From: Weckyy702 Date: Sat, 18 Apr 2026 03:32:09 +0200 Subject: [PATCH] tux/weckyy702: Add orly book covers to randomized background list --- flake.lock | 17 ++++++++ flake.nix | 4 ++ .../hosts/tux/users/weckyy702/wallpaper.nix | 42 +++++++++++++------ 3 files changed, 51 insertions(+), 12 deletions(-) diff --git a/flake.lock b/flake.lock index 4c38506..02482b3 100644 --- a/flake.lock +++ b/flake.lock @@ -326,6 +326,22 @@ "type": "github" } }, + "orly-covers": { + "flake": false, + "locked": { + "lastModified": 1482210547, + "narHash": "sha256-3uU/RbOCZQS8kFu74zHpsHilQoaz9Jhv3vluI9axVPk=", + "owner": "thepracticaldev", + "repo": "orly-full-res", + "rev": "15c2b8dc906a7027391c11f559249c57e1a0a056", + "type": "github" + }, + "original": { + "owner": "thepracticaldev", + "repo": "orly-full-res", + "type": "github" + } + }, "root": { "inputs": { "agenix": "agenix", @@ -339,6 +355,7 @@ "nixpkgs": "nixpkgs", "nixpkgs-unstable": "nixpkgs-unstable", "nixvim": "nixvim", + "orly-covers": "orly-covers", "rust-overlay": "rust-overlay", "secrets": "secrets", "spicetify-nix": "spicetify-nix", diff --git a/flake.nix b/flake.nix index 3f049a5..79a1fc6 100644 --- a/flake.nix +++ b/flake.nix @@ -36,6 +36,10 @@ url = "github:nix-community/nixvim/nixos-25.11"; inputs.nixpkgs.follows = "nixpkgs"; }; + orly-covers = { + url = "github:thepracticaldev/orly-full-res"; + flake = false; + }; rust-overlay = { url = "github:oxalica/rust-overlay"; inputs.nixpkgs.follows = "nixpkgs"; diff --git a/modules/hosts/tux/users/weckyy702/wallpaper.nix b/modules/hosts/tux/users/weckyy702/wallpaper.nix index 018c36f..89bbe95 100644 --- a/modules/hosts/tux/users/weckyy702/wallpaper.nix +++ b/modules/hosts/tux/users/weckyy702/wallpaper.nix @@ -4,18 +4,36 @@ url = "github:cat-milk/Anime-Girls-Holding-Programming-Books"; flake = false; }; + orly-covers = { + url = "github:thepracticaldev/orly-full-res"; + flake = false; + }; }; - flake.modules.homeManager.randomized-aghpb-wallpaper = { - imports = with inputs.self.factory; [ - (wpaperd { - default = { - path = inputs.aghpb; - recursive = true; - mode = "stretch"; - duration = "5m"; - }; - }) - ]; - }; + flake.modules.homeManager.randomized-aghpb-wallpaper = { pkgs, ... }: + let + combined_wallpapers = pkgs.symlinkJoin { + name = "joined-wallpapers"; + paths = with inputs; [ + aghpb + orly-covers + ]; + }; + in + { + imports = with inputs.self.factory; [ + (wpaperd { + default = { + path = combined_wallpapers; + recursive = true; + mode = "stretch"; + duration = "5m"; + }; + }) + ]; + + wayland.windowManager.hyprland.settings.bind = [ + "$mod, i, exec, wpaperctl next" + ]; + }; }