From fc742c24e08600060f1297806b2afe652e2d5d86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Av=C3=A9?= Date: Sat, 1 Jun 2024 17:10:24 +0200 Subject: [PATCH] Sat Jun 1 05:10:24 PM CEST 2024 --- NixOS/modules/hyprland/config.nix | 15 +++++++++++++++ .../modules/hyprland/files}/wallpaper.png | Bin 2 files changed, 15 insertions(+) rename {.config/awesome/images => NixOS/modules/hyprland/files}/wallpaper.png (100%) diff --git a/NixOS/modules/hyprland/config.nix b/NixOS/modules/hyprland/config.nix index 1b9c5f6..9a1bd13 100644 --- a/NixOS/modules/hyprland/config.nix +++ b/NixOS/modules/hyprland/config.nix @@ -59,6 +59,21 @@ in indicator = true; }; + services.hyprpaper = { + enable = true; + settings = { + ipc = "off"; + splash = false; + preload = + [ "${./files/wallpaper.png}"]; + + wallpaper = [ + "DP-3,${./files/wallpaper.png}" + "DP-2,${./files/wallpaper.png}" + "HDMI-A-1,${./files/wallpaper.png}" + ]; + }; + }; wayland.windowManager.hyprland = { enable = true; systemd.variables = [ "--all" ]; diff --git a/.config/awesome/images/wallpaper.png b/NixOS/modules/hyprland/files/wallpaper.png similarity index 100% rename from .config/awesome/images/wallpaper.png rename to NixOS/modules/hyprland/files/wallpaper.png