From aaa944fd335939b3bb07c8553b81b8757a565e92 Mon Sep 17 00:00:00 2001 From: Jordan Holt Date: Sun, 16 Mar 2025 22:05:15 +0000 Subject: [PATCH] hyprland: extract hyprpaper --- users/jordan/graphical/hyprland/default.nix | 17 +-------------- users/jordan/graphical/hyprland/hyprpaper.nix | 21 +++++++++++++++++++ 2 files changed, 22 insertions(+), 16 deletions(-) create mode 100644 users/jordan/graphical/hyprland/hyprpaper.nix diff --git a/users/jordan/graphical/hyprland/default.nix b/users/jordan/graphical/hyprland/default.nix index 025f51e..58f8466 100644 --- a/users/jordan/graphical/hyprland/default.nix +++ b/users/jordan/graphical/hyprland/default.nix @@ -6,6 +6,7 @@ { imports = [ ./hyprlock.nix + ./hyprpaper.nix ]; wayland.windowManager.hyprland = { @@ -194,22 +195,6 @@ }; }; - services.hyprpaper = { - enable = true; - settings = { - ipc = "on"; - splash = false; - - preload = [ - "/home/jordan/Pictures/Aurora.png" - ]; - - wallpaper = [ - ",/home/jordan/Pictures/Aurora.png" - ]; - }; - }; - home.packages = with pkgs.unstable; [ adw-gtk3 anyrun diff --git a/users/jordan/graphical/hyprland/hyprpaper.nix b/users/jordan/graphical/hyprland/hyprpaper.nix new file mode 100644 index 0000000..f755b34 --- /dev/null +++ b/users/jordan/graphical/hyprland/hyprpaper.nix @@ -0,0 +1,21 @@ +{ + ... +}: + +{ + services.hyprpaper = { + enable = true; + settings = { + ipc = "on"; + splash = false; + + preload = [ + "/home/jordan/Pictures/Aurora.png" + ]; + + wallpaper = [ + ",/home/jordan/Pictures/Aurora.png" + ]; + }; + }; +}