feat(apps): add wallpaper engine support in Nix configuration
This commit is contained in:
@@ -38,5 +38,6 @@ lib.optionalAttrs device.hasGui {
|
|||||||
./zed.nix
|
./zed.nix
|
||||||
./zen.nix
|
./zen.nix
|
||||||
./vial.nix
|
./vial.nix
|
||||||
|
./wallpaperengine.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
9
home/apps/wallpaperengine.nix
Normal file
9
home/apps/wallpaperengine.nix
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
home.packages = lib.optionals pkgs.stdenv.isLinux [
|
||||||
|
pkgs.linux-wallpaperengine
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -37,6 +37,9 @@
|
|||||||
cm_fs_passthrough = 1;
|
cm_fs_passthrough = 1;
|
||||||
cm_auto_hdr = 1;
|
cm_auto_hdr = 1;
|
||||||
};
|
};
|
||||||
|
experimental = {
|
||||||
|
xx_color_management_v4 = true;
|
||||||
|
};
|
||||||
monitorv2 = [
|
monitorv2 = [
|
||||||
{
|
{
|
||||||
output = device.monitors.primary;
|
output = device.monitors.primary;
|
||||||
@@ -44,10 +47,12 @@
|
|||||||
position = "0x0";
|
position = "0x0";
|
||||||
scale = 1;
|
scale = 1;
|
||||||
transform = 0;
|
transform = 0;
|
||||||
# bitdepth = 10;
|
supports_wide_color = 1;
|
||||||
# cm = "hdr";
|
supports_hdr = 1;
|
||||||
# sdrbrightness = 1.1;
|
bitdepth = 10;
|
||||||
# sdrsaturation = 1.2;
|
cm = "hdr";
|
||||||
|
sdrbrightness = 0.005;
|
||||||
|
sdrsaturation = 200;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
output = device.monitors.secondary;
|
output = device.monitors.secondary;
|
||||||
|
|||||||
Reference in New Issue
Block a user