From 5fe2e2082941977986520e259b6fa3aaeb96a68c Mon Sep 17 00:00:00 2001 From: uttarayan21 Date: Tue, 21 Oct 2025 12:29:19 +0530 Subject: [PATCH] feat(apps): add wallpaper engine support in Nix configuration --- home/apps/default.nix | 1 + home/apps/wallpaperengine.nix | 9 +++++++++ home/services/hyprland.nix | 13 +++++++++---- 3 files changed, 19 insertions(+), 4 deletions(-) create mode 100644 home/apps/wallpaperengine.nix diff --git a/home/apps/default.nix b/home/apps/default.nix index 747cd0c0..4f6f6570 100644 --- a/home/apps/default.nix +++ b/home/apps/default.nix @@ -38,5 +38,6 @@ lib.optionalAttrs device.hasGui { ./zed.nix ./zen.nix ./vial.nix + ./wallpaperengine.nix ]; } diff --git a/home/apps/wallpaperengine.nix b/home/apps/wallpaperengine.nix new file mode 100644 index 00000000..b98a5a98 --- /dev/null +++ b/home/apps/wallpaperengine.nix @@ -0,0 +1,9 @@ +{ + pkgs, + lib, + ... +}: { + home.packages = lib.optionals pkgs.stdenv.isLinux [ + pkgs.linux-wallpaperengine + ]; +} diff --git a/home/services/hyprland.nix b/home/services/hyprland.nix index ee93a4fb..4d16c000 100644 --- a/home/services/hyprland.nix +++ b/home/services/hyprland.nix @@ -37,6 +37,9 @@ cm_fs_passthrough = 1; cm_auto_hdr = 1; }; + experimental = { + xx_color_management_v4 = true; + }; monitorv2 = [ { output = device.monitors.primary; @@ -44,10 +47,12 @@ position = "0x0"; scale = 1; transform = 0; - # bitdepth = 10; - # cm = "hdr"; - # sdrbrightness = 1.1; - # sdrsaturation = 1.2; + supports_wide_color = 1; + supports_hdr = 1; + bitdepth = 10; + cm = "hdr"; + sdrbrightness = 0.005; + sdrsaturation = 200; } { output = device.monitors.secondary;