From ab32d5b478b4d96ae49c0146e7aed43f93b6feca Mon Sep 17 00:00:00 2001 From: Uzair Mohammed Date: Sat, 28 Dec 2024 18:27:38 -0800 Subject: [PATCH] 1: Added and configured hyprpaper --- home/modules/hyprland/hyprland.nix | 3 ++- home/modules/hyprland/hyprpaper.nix | 9 +++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 home/modules/hyprland/hyprpaper.nix diff --git a/home/modules/hyprland/hyprland.nix b/home/modules/hyprland/hyprland.nix index 96999de..7398969 100644 --- a/home/modules/hyprland/hyprland.nix +++ b/home/modules/hyprland/hyprland.nix @@ -13,6 +13,7 @@ ./cliphist.nix ./wlogout.nix ./wlsunset.nix + ./hyprpaper.nix ]; home.packages = [ @@ -204,7 +205,7 @@ }; extraConfig = '' - exec-once waybar + exec-once = waybar ''; }; } diff --git a/home/modules/hyprland/hyprpaper.nix b/home/modules/hyprland/hyprpaper.nix new file mode 100644 index 0000000..f86be0e --- /dev/null +++ b/home/modules/hyprland/hyprpaper.nix @@ -0,0 +1,9 @@ +{ + services.hyprpaper = { + enable = true; + settings = { + preload = [ "/home/uzair/Pictures/nix-mocha.png" ]; + wallpaper = [ ", /home/uzair/Pictures/nix-mocha.png" ]; + }; + }; +}